From 37781e7e4e3321a430fbda411300573ef7a432b2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Sep 2024 15:58:15 +0000 Subject: [PATCH] Bump borsh from 0.9.3 to 0.10.4 Bumps [borsh](https://github.com/near/borsh-rs) from 0.9.3 to 0.10.4. - [Release notes](https://github.com/near/borsh-rs/releases) - [Changelog](https://github.com/near/borsh-rs/blob/borsh-v0.10.4/CHANGELOG.md) - [Commits](https://github.com/near/borsh-rs/compare/v0.9.3...borsh-v0.10.4) --- updated-dependencies: - dependency-name: borsh dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.lock | 83 +++++++++++++++++++++++++++++++++++++++++------------- Cargo.toml | 2 +- 2 files changed, 65 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2b04fd9..3c37993 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -739,7 +739,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b3a5ca650bb3e42e45102c7e6fbef507a6bf93c45a63fd62565fe981e932f2d" dependencies = [ "bonfida-macros", - "borsh", + "borsh 0.9.3", "bytemuck", "pyth-sdk-solana", "solana-program", @@ -752,18 +752,41 @@ version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "15bf3650200d8bffa99015595e10f1fbd17de07abbc25bb067da79e769939bfa" dependencies = [ - "borsh-derive", + "borsh-derive 0.9.3", "hashbrown 0.11.2", ] +[[package]] +name = "borsh" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115e54d64eb62cdebad391c19efc9dce4981c690c85a33a12199d99bb9546fee" +dependencies = [ + "borsh-derive 0.10.4", + "hashbrown 0.12.3", +] + [[package]] name = "borsh-derive" version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6441c552f230375d18e3cc377677914d2ca2b0d36e52129fe15450a2dce46775" dependencies = [ - "borsh-derive-internal", - "borsh-schema-derive-internal", + "borsh-derive-internal 0.9.3", + "borsh-schema-derive-internal 0.9.3", + "proc-macro-crate 0.1.5", + "proc-macro2 1.0.86", + "syn 1.0.109", +] + +[[package]] +name = "borsh-derive" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831213f80d9423998dd696e2c5345aba6be7a0bd8cd19e31c5243e13df1cef89" +dependencies = [ + "borsh-derive-internal 0.10.4", + "borsh-schema-derive-internal 0.10.4", "proc-macro-crate 0.1.5", "proc-macro2 1.0.86", "syn 1.0.109", @@ -780,6 +803,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "borsh-derive-internal" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65d6ba50644c98714aa2a70d13d7df3cd75cd2b523a2b452bf010443800976b3" +dependencies = [ + "proc-macro2 1.0.86", + "quote 1.0.37", + "syn 1.0.109", +] + [[package]] name = "borsh-schema-derive-internal" version = "0.9.3" @@ -791,6 +825,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "borsh-schema-derive-internal" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "276691d96f063427be83e6692b86148e488ebba9f48f77788724ca027ba3b6d4" +dependencies = [ + "proc-macro2 1.0.86", + "quote 1.0.37", + "syn 1.0.109", +] + [[package]] name = "brotli" version = "6.0.0" @@ -3008,7 +3053,7 @@ version = "1.4.3-beta.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81a34d740606a10a9dac7507d0c9025d72e0ce311c68ae85b6634982cf69a9c6" dependencies = [ - "borsh", + "borsh 0.9.3", "bytemuck", "mpl-token-metadata-context-derive 0.2.1", "num-derive 0.3.3", @@ -3028,7 +3073,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "654976568c99887549e1291e7b7e55ae31a70732e56ebb25cb1cdfc08c018333" dependencies = [ "arrayref", - "borsh", + "borsh 0.9.3", "mpl-token-auth-rules", "mpl-token-metadata-context-derive 0.3.0", "mpl-utils", @@ -3114,7 +3159,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36d48aa308cc2401ed16fb819369d6d5a8dcecae83ce0d6136b231bd325f0521" dependencies = [ "bonfida-utils", - "borsh", + "borsh 0.9.3", "enumflags2", "mpl-token-metadata", "num-derive 0.3.3", @@ -3775,8 +3820,8 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f262b88557d8f152a247e1be786a8359d63112fac0a6e49fa41082a8ef789e8d" dependencies = [ - "borsh", - "borsh-derive", + "borsh 0.9.3", + "borsh-derive 0.9.3", "hex", "schemars", "serde", @@ -3788,8 +3833,8 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2aed1a0b714f91cb104cc025eb806782e30aa63c23259724e79efd609294a2c9" dependencies = [ - "borsh", - "borsh-derive", + "borsh 0.9.3", + "borsh-derive 0.9.3", "bytemuck", "num-derive 0.3.3", "num-traits", @@ -4095,7 +4140,7 @@ dependencies = [ "async-graphql-warp", "async-recursion", "async-trait", - "borsh", + "borsh 0.10.4", "chrono", "config", "ctor", @@ -4820,7 +4865,7 @@ checksum = "2874b2c2a2f8a2bfb920325e78d1ad4caf8e85cd862229cbc6d6a6fa5b0fa292" dependencies = [ "bech32", "bonfida-utils", - "borsh", + "borsh 0.9.3", "bytemuck", "derive_more", "ed25519-dalek", @@ -5171,8 +5216,8 @@ dependencies = [ "bincode", "bitflags 1.3.2", "blake3", - "borsh", - "borsh-derive", + "borsh 0.9.3", + "borsh-derive 0.9.3", "bs58", "bv", "bytemuck", @@ -5276,7 +5321,7 @@ dependencies = [ "base64 0.13.1", "bincode", "bitflags 1.3.2", - "borsh", + "borsh 0.9.3", "bs58", "bytemuck", "byteorder", @@ -5368,7 +5413,7 @@ dependencies = [ "Inflector", "base64 0.13.1", "bincode", - "borsh", + "borsh 0.9.3", "bs58", "lazy_static", "log", @@ -5494,7 +5539,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978dba3bcbe88d0c2c58366c254d9ea41c5f73357e72fc0bdee4d6b5fc99c8f4" dependencies = [ "assert_matches", - "borsh", + "borsh 0.9.3", "num-derive 0.3.3", "num-traits", "solana-program", @@ -5518,7 +5563,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c2920a0762e3fdbd02a24469787d9217f658776502265a9b99903557be28adf" dependencies = [ - "borsh", + "borsh 0.9.3", "num-derive 0.3.3", "num-traits", "solana-program", diff --git a/Cargo.toml b/Cargo.toml index 1f0433a..efd8fda 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,7 +60,7 @@ spl-token = "3.0.0" solana-account-decoder = "<1.16.0" solana-program = "<1.16.0" sns-sdk = "=1.4.0" -borsh = "0.9" +borsh = "0.10" # GraphQL async-graphql = { version = "7", features = ["uuid", "chrono"] }