From 7acc36573c637b02d619d0abac4fdc17624df9c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Jan 2023 02:05:15 +0000 Subject: [PATCH] Bump borsh from 0.9.1 to 0.10.0 Bumps [borsh](https://github.com/near/borsh-rs) from 0.9.1 to 0.10.0. - [Release notes](https://github.com/near/borsh-rs/releases) - [Changelog](https://github.com/near/borsh-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/near/borsh-rs/compare/v0.9.1...v0.10.0) --- updated-dependencies: - dependency-name: borsh dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 71 ++++++++++++++++++++++++++++++++++++++++--------- Cargo.toml | 2 +- fuzz/Cargo.toml | 2 +- 3 files changed, 60 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d88f8d8..4b6fbcb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -362,18 +362,41 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "18dda7dc709193c0d86a1a51050a926dc3df1cf262ec46a23a25dba421ea1924" dependencies = [ - "borsh-derive", + "borsh-derive 0.9.1", "hashbrown 0.9.1", ] +[[package]] +name = "borsh" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "822462c1e7b17b31961798a6874b36daea6818e99e0cb7d3b7b0fa3c477751c3" +dependencies = [ + "borsh-derive 0.10.0", + "hashbrown 0.11.2", +] + [[package]] name = "borsh-derive" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "684155372435f578c0fa1acd13ebbb182cc19d6b38b64ae7901da4393217d264" dependencies = [ - "borsh-derive-internal", - "borsh-schema-derive-internal", + "borsh-derive-internal 0.9.1", + "borsh-schema-derive-internal 0.9.1", + "proc-macro-crate 0.1.5", + "proc-macro2 1.0.28", + "syn 1.0.75", +] + +[[package]] +name = "borsh-derive" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37626c9e941a687ee9abef6065b44c379478ae563b7483c613dd705ef1dff59e" +dependencies = [ + "borsh-derive-internal 0.10.0", + "borsh-schema-derive-internal 0.10.0", "proc-macro-crate 0.1.5", "proc-macro2 1.0.28", "syn 1.0.75", @@ -390,6 +413,17 @@ dependencies = [ "syn 1.0.75", ] +[[package]] +name = "borsh-derive-internal" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61820b4c5693eafb998b1e67485423c923db4a75f72585c247bdee32bad81e7b" +dependencies = [ + "proc-macro2 1.0.28", + "quote 1.0.9", + "syn 1.0.75", +] + [[package]] name = "borsh-schema-derive-internal" version = "0.9.1" @@ -401,6 +435,17 @@ dependencies = [ "syn 1.0.75", ] +[[package]] +name = "borsh-schema-derive-internal" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c76cdbfa13def20d1f8af3ae7b3c6771f06352a74221d8851262ac384c122b8e" +dependencies = [ + "proc-macro2 1.0.28", + "quote 1.0.9", + "syn 1.0.75", +] + [[package]] name = "bs58" version = "0.3.1" @@ -2801,8 +2846,8 @@ version = "1.0.0" dependencies = [ "arbitrary", "arrayvec 0.7.2", - "borsh", - "borsh-derive", + "borsh 0.10.0", + "borsh-derive 0.9.1", "honggfuzz", "num-derive", "num-traits", @@ -2825,8 +2870,8 @@ version = "0.1.0" dependencies = [ "arbitrary", "arrayvec 0.7.2", - "borsh", - "borsh-derive", + "borsh 0.10.0", + "borsh-derive 0.9.1", "honggfuzz", "num-derive", "num-traits", @@ -3911,8 +3956,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f55a64726bfffacf62fdca86e9d56e04bedc4c50fc0b7ec103cde15a9978c111" dependencies = [ "bincode", - "borsh", - "borsh-derive", + "borsh 0.9.1", + "borsh-derive 0.9.1", "futures 0.3.16", "mio 0.7.13", "solana-banks-interface", @@ -4493,8 +4538,8 @@ dependencies = [ "base64 0.13.0", "bincode", "blake3", - "borsh", - "borsh-derive", + "borsh 0.9.1", + "borsh-derive 0.9.1", "bs58 0.3.1", "bv", "bytemuck", @@ -4691,8 +4736,8 @@ dependencies = [ "assert_matches", "base64 0.13.0", "bincode", - "borsh", - "borsh-derive", + "borsh 0.9.1", + "borsh-derive 0.9.1", "bs58 0.4.0", "bv", "bytemuck", diff --git a/Cargo.toml b/Cargo.toml index 6a4b398..8fcad93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ solana-program = "1.8.14" spl-token = { version = "3.1.1", features = ["no-entrypoint"] } #serializiation/deserialzation -borsh = { version = "0.9.1", features = ["const-generics"] } +borsh = { version = "0.10.0", features = ["const-generics"] } borsh-derive = "0.9.1" #numerics diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index a837f11..5942947 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -21,7 +21,7 @@ spl-associated-token-account = { version = "1.0.2", features = ["no-entrypoint"] #serializiation/deserialzation -borsh = { version = "0.9.1", features = ["const-generics"] } +borsh = { version = "0.10.0", features = ["const-generics"] } borsh-derive = "0.9.1" #numerics