diff --git a/Cargo.lock b/Cargo.lock index d88f8d8..6f68f34 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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40f9ca3698b2e4cb7c15571db0abc5551dca417a21ae8140460b50309bb2cc62" +dependencies = [ + "borsh-derive 0.10.2", + "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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "598b3eacc6db9c3ee57b22707ad8f6a8d2f6d442bfe24ffeb8cbb70ca59e6a35" +dependencies = [ + "borsh-derive-internal 0.10.2", + "borsh-schema-derive-internal 0.10.2", "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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "186b734fa1c9f6743e90c95d7233c9faab6360d1a96d4ffa19d9cfd1e9350f8a" +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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99b7ff1008316626f485991b960ade129253d4034014616b94f309a15366cc49" +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.2", + "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.2", + "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..e2e86c3 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.2", features = ["const-generics"] } borsh-derive = "0.9.1" #numerics diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index a837f11..3f69855 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.2", features = ["const-generics"] } borsh-derive = "0.9.1" #numerics