diff --git a/Cargo.lock b/Cargo.lock index d88f8d8..368630e 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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3ef05d137e34b7ac51dbec170ee523a9b728cff71385796771d259771d592f8" +dependencies = [ + "borsh-derive 0.10.1", + "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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "190b1188f062217531748807129459c8c14641b648e887e39681a433db7fc939" +dependencies = [ + "borsh-derive-internal 0.10.1", + "borsh-schema-derive-internal 0.10.1", "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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0fcf747a3e4eb47869441664df09d0eb88dcc9a85d499860efb82c2cfe6affc" +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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f671d085f791c5fd3331c843ded45454b034b6188bf0f78ed28e7fd66a8b3f69" +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.1", + "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.1", + "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..b6ff42e 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.1", features = ["const-generics"] } borsh-derive = "0.9.1" #numerics diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index a837f11..5a9bc95 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.1", features = ["const-generics"] } borsh-derive = "0.9.1" #numerics