diff --git a/Cargo.lock b/Cargo.lock index 0aaac540b..abb137a17 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -680,6 +680,12 @@ dependencies = [ "serde", ] +[[package]] +name = "bincode" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd6a120d2e16b3e1b4a24bd70f23b12d3e16b81f113364a26935f8db7245452d" + [[package]] name = "bindgen" version = "0.69.4" @@ -5222,7 +5228,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "730219420b206253977b8cc8fd7846ffe021ab2e2c718e70db420efbd2775547" dependencies = [ - "bincode", + "bincode 1.3.3", "serde", "serde_bytes", "serde_derive", @@ -5238,7 +5244,7 @@ checksum = "14e5b1c167335942b659d077552607f79b2eca3472e40eeed97a2c55838b84ef" dependencies = [ "Inflector", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bs58", "bv", "lazy_static", @@ -5278,7 +5284,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6abe81cfc4a75f71a510c6856b03a7d8525e416af3c69d55daef62e6078b8d40" dependencies = [ - "bincode", + "bincode 1.3.3", "serde", "solana-program-error", "solana-program-memory", @@ -5292,7 +5298,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9fecc332ad4edd98ed63e5a46d990ecaf6fe4abd2bf9795c15474a64534ced6" dependencies = [ "ahash 0.8.11", - "bincode", + "bincode 1.3.3", "blake3", "bv", "bytemuck", @@ -5337,7 +5343,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2cf79a76f2878982b9781dfd0831d58ee15eb905be65406ccf7370c3ecd69c52" dependencies = [ - "bincode", + "bincode 1.3.3", "bytemuck", "log", "num-derive", @@ -5394,7 +5400,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10db60e4bf077b870a7e75f8596bf3790d079b3762e9b4edc032475077007d0b" dependencies = [ - "bincode", + "bincode 1.3.3", "crossbeam-channel", "futures 0.3.31", "solana-banks-interface", @@ -5415,7 +5421,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e85cb5961c356345a61378163fd9057011b35540f8bcdd8d8a09cb10117264f" dependencies = [ - "bincode", + "bincode 1.3.3", "serde", "solana-instruction", ] @@ -5467,7 +5473,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "142e0407f8428a1d2a33154d1d3d1c134ad257651ddff0811c17a6ee840def36" dependencies = [ - "bincode", + "bincode 1.3.3", "byteorder", "libsecp256k1", "log", @@ -5614,7 +5620,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d9a40b8e9e11604e8c05e8b5fcdb89359235db47d1aae84dcba0fc98e95dd0c" dependencies = [ "async-trait", - "bincode", + "bincode 1.3.3", "dashmap", "futures 0.3.31", "futures-util", @@ -5675,7 +5681,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a035a01970ebbf40a244b3b79af533329ac8d48d80b0b98e166e23e35aa88171" dependencies = [ - "bincode", + "bincode 1.3.3", "chrono", "serde", "serde_derive", @@ -5692,7 +5698,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f45dd2a6d5d55ed951781486231d0d2ee9ff7047fdafaed01ee021e236319d0" dependencies = [ "async-trait", - "bincode", + "bincode 1.3.3", "crossbeam-channel", "futures-util", "indexmap 2.6.0", @@ -5716,7 +5722,7 @@ dependencies = [ "anyhow", "arrayvec", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bs58", "bytes", "chrono", @@ -5870,7 +5876,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "151cbfd824285d3b6ab6391f85448f73364baca34a897184e26ad7c66165e3f0" dependencies = [ - "bincode", + "bincode 1.3.3", "crossbeam-channel", "dlopen2", "lazy_static", @@ -5903,7 +5909,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "281c481c0efa41a7ddada5dbffabee9099a6b01e9d748b7135366df589f7415e" dependencies = [ - "bincode", + "bincode 1.3.3", "byteorder", "clap 2.34.0", "crossbeam-channel", @@ -5990,7 +5996,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5849898b9a0a9b4dc9a200fa7b28d1c929bb89f8db4e8b5899d2d32277459ce" dependencies = [ "assert_matches", - "bincode", + "bincode 1.3.3", "bv", "clap 2.34.0", "crossbeam-channel", @@ -6078,7 +6084,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfef689e06e5c7cb6206d4dc61ac77733de4f72d754e0d531393206abc27dbe4" dependencies = [ - "bincode", + "bincode 1.3.3", "borsh 1.5.3", "getrandom 0.2.10", "js-sys", @@ -6120,7 +6126,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d181954a7e0ef3847ed2336adda1214cda401ac2c5557ebb63d700e409864881" dependencies = [ "assert_matches", - "bincode", + "bincode 1.3.3", "bitflags 2.6.0", "byteorder", "bzip2", @@ -6276,7 +6282,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbac19474a4c4f91cb264c2fccead8a1a4f65384ce650b24360d9df5650e65bc" dependencies = [ - "bincode", + "bincode 1.3.3", "crossbeam-channel", "log", "nix", @@ -6301,7 +6307,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dafc2d84e57dbfe32583fe915962bd2ca3af6be496628a871db3c3d697b38d7" dependencies = [ - "bincode", + "bincode 1.3.3", "bitflags 2.6.0", "cfg_eval", "serde", @@ -6316,7 +6322,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8299f1ba518f9888da8cafa861addc6ffdd639c689e3ce219ae08212c0dcd0e" dependencies = [ "ahash 0.8.11", - "bincode", + "bincode 1.3.3", "bv", "caps", "curve25519-dalek 4.1.3", @@ -6383,7 +6389,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9040decf2f295d35da22557eeab3768ab8dfca8aed9afe668663c8fa0e97d60e" dependencies = [ "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bitflags 2.6.0", "blake3", "borsh 0.10.3", @@ -6508,7 +6514,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba1de51df173401d50c0f4cf750f5070d7a4c82125a03c1aec9622dc041b0b54" dependencies = [ "base64 0.22.1", - "bincode", + "bincode 1.3.3", "enum-iterator", "itertools 0.12.1", "libc", @@ -6540,7 +6546,7 @@ dependencies = [ "assert_matches", "async-trait", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "chrono-humanize", "crossbeam-channel", "log", @@ -6694,7 +6700,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6e2cf5309990480e4d52e59850bbd8181e1e2c8d4321a44b1c6b89e05df2c44" dependencies = [ "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bs58", "crossbeam-channel", "dashmap", @@ -6755,7 +6761,7 @@ checksum = "3b05822aceeb484074a72d82a1b289da9fc3383f9ba3f55ce4bfd003bf9d62e6" dependencies = [ "async-trait", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bs58", "indicatif", "log", @@ -6819,7 +6825,7 @@ dependencies = [ "aquamarine", "arrayref", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "blake3", "bv", "bytemuck", @@ -6926,7 +6932,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524604d94185c189616296e5b7da1014cc96d1e446bd2b26f247f00708b9225a" dependencies = [ - "bincode", + "bincode 1.3.3", "bitflags 2.6.0", "borsh 1.5.3", "bs58", @@ -7123,7 +7129,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8bb1a59fdd929becddfaed9ec33a1ca4db853f45ae85e14e4f4054a875fc41d" dependencies = [ - "bincode", + "bincode 1.3.3", "log", "solana-config-program", "solana-feature-set", @@ -7141,7 +7147,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd27a62abd1e8abab640ed77565fcbf10745e732fc016013f521f3a46193d07a" dependencies = [ "backoff", - "bincode", + "bincode 1.3.3", "bytes", "bzip2", "enum-iterator", @@ -7174,7 +7180,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12335d3d506aa9a49ac0674c00a5ea3de2d617e77ced0611080a3c1cdd61ada5" dependencies = [ - "bincode", + "bincode 1.3.3", "bs58", "prost", "protobuf-src", @@ -7277,7 +7283,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "242634cdc1eacaa83738cc100fdd583eb88f99cc2edcc900c8ebe57d77af51b1" dependencies = [ - "bincode", + "bincode 1.3.3", "log", "serde", "serde_derive", @@ -7294,7 +7300,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1ff3137ff403e0d6c7f04b0800448341e8b4c889eefb2a1cd52e31e71596e72" dependencies = [ "base64 0.22.1", - "bincode", + "bincode 1.3.3", "crossbeam-channel", "log", "serde_derive", @@ -7326,7 +7332,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10314ae3e0889cf38140902862d2c2ea481895c82c19f51dc4457b7dfa3aa6d0" dependencies = [ - "bincode", + "bincode 1.3.3", "log", "rayon", "solana-connection-cache", @@ -7353,7 +7359,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "516cbed8800cd36fb3ecc9a65df1e76bf8251929aa32e9b10497e8d6612de605" dependencies = [ "async-trait", - "bincode", + "bincode 1.3.3", "futures-util", "indexmap 2.6.0", "indicatif", @@ -7388,7 +7394,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b0b668c986a83e6b2eb8f130039045b54abc37ee821853250755386d26c1c668" dependencies = [ "base64 0.22.1", - "bincode", + "bincode 1.3.3", "lazy_static", "log", "rand 0.8.5", @@ -7405,7 +7411,7 @@ checksum = "e3e8ed5bf2511c45b923de25482407c9a2eb56af73dba52c19db76df4dd35cba" dependencies = [ "Inflector", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "borsh 1.5.3", "bs58", "lazy_static", @@ -7432,7 +7438,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5fb35fb678fec581e9bdf6350d2c7f5829951a6280038fc06949b1589a9605e1" dependencies = [ "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bs58", "serde", "serde_derive", @@ -7449,7 +7455,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf66a4e4cf0deed11e1d351fdce52e2a48058bd4b7ece4f5e1e1b435911460e0" dependencies = [ - "bincode", + "bincode 1.3.3", "bytes", "crossbeam-channel", "futures 0.3.31", @@ -7575,7 +7581,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "637cadc921725d1804a451ea7d2dff83310a12b75e0b6c83a8bb67ebc02d10f1" dependencies = [ - "bincode", + "bincode 1.3.3", "log", "num-derive", "num-traits", @@ -7635,7 +7641,7 @@ checksum = "18c2d96f65cb033f4dc16d3a1b085f8af0ea38012c514a8f65b9b6d75bc9339f" dependencies = [ "aes-gcm-siv", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bytemuck", "bytemuck_derive", "curve25519-dalek 4.1.3", @@ -7683,7 +7689,7 @@ checksum = "ed293089d8eebd6b5c1b53ee4ad6817889fea254274ddb34cb01ad35a2f817cb" dependencies = [ "aes-gcm-siv", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bytemuck", "bytemuck_derive", "byteorder", @@ -7990,7 +7996,7 @@ dependencies = [ "arrayref", "assert_matches", "base64 0.22.1", - "bincode", + "bincode 3.0.0", "borsh 1.5.3", "num-derive", "num-traits", @@ -8023,7 +8029,7 @@ version = "0.1.4" dependencies = [ "arrayref", "assert_matches", - "bincode", + "bincode 3.0.0", "borsh 1.5.3", "num-derive", "num-traits", @@ -8046,7 +8052,7 @@ version = "0.2.9" dependencies = [ "arrayref", "assert_matches", - "bincode", + "bincode 3.0.0", "borsh 1.5.3", "num-derive", "num-traits", @@ -8070,7 +8076,7 @@ name = "spl-governance-test-sdk" version = "0.1.4" dependencies = [ "arrayref", - "bincode", + "bincode 3.0.0", "borsh 1.5.3", "lazy_static", "num-derive", @@ -8089,7 +8095,7 @@ name = "spl-governance-tools" version = "0.1.4" dependencies = [ "arrayref", - "bincode", + "bincode 3.0.0", "borsh 1.5.3", "num-derive", "num-traits", @@ -8321,7 +8327,7 @@ version = "1.0.1" dependencies = [ "approx", "arrayref", - "bincode", + "bincode 3.0.0", "borsh 1.5.3", "num-derive", "num-traits", @@ -8343,7 +8349,7 @@ dependencies = [ name = "spl-single-pool-cli" version = "1.0.0" dependencies = [ - "bincode", + "bincode 3.0.0", "borsh 1.5.3", "clap 3.2.25", "console", @@ -8375,7 +8381,7 @@ dependencies = [ name = "spl-slashing" version = "0.1.0" dependencies = [ - "bincode", + "bincode 3.0.0", "bitflags 2.6.0", "bytemuck", "generic-array 0.14.7", @@ -8405,7 +8411,7 @@ version = "2.0.1" dependencies = [ "arrayref", "assert_matches", - "bincode", + "bincode 3.0.0", "borsh 1.5.3", "bytemuck", "num-derive", @@ -8430,7 +8436,7 @@ dependencies = [ name = "spl-stake-pool-cli" version = "2.0.0" dependencies = [ - "bincode", + "bincode 3.0.0", "borsh 1.5.3", "bs58", "clap 2.34.0", @@ -8659,7 +8665,7 @@ name = "spl-token-client" version = "0.13.0" dependencies = [ "async-trait", - "bincode", + "bincode 3.0.0", "bytemuck", "futures 0.3.31", "futures-util", @@ -9644,7 +9650,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "911a61637386b789af998ee23f50aa30d5fd7edcec8d6d3dedae5e5815205466" dependencies = [ - "bincode", + "bincode 1.3.3", "bytes", "educe", "futures-core", diff --git a/governance/addin-mock/program/Cargo.toml b/governance/addin-mock/program/Cargo.toml index 589aa85ff..20617fbd8 100644 --- a/governance/addin-mock/program/Cargo.toml +++ b/governance/addin-mock/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.9" -bincode = "1.3.2" +bincode = "3.0.0" borsh = "1.5.3" num-derive = "0.4" num-traits = "0.2" diff --git a/governance/chat/program/Cargo.toml b/governance/chat/program/Cargo.toml index 5e3b36e58..e484b3cf6 100644 --- a/governance/chat/program/Cargo.toml +++ b/governance/chat/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.9" -bincode = "1.3.2" +bincode = "3.0.0" borsh = "1.5.3" num-derive = "0.4" num-traits = "0.2" diff --git a/governance/program/Cargo.toml b/governance/program/Cargo.toml index e85f57e81..d527008b6 100644 --- a/governance/program/Cargo.toml +++ b/governance/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.9" -bincode = "1.3.2" +bincode = "3.0.0" borsh = "1.5.3" num-derive = "0.4" num-traits = "0.2" diff --git a/governance/test-sdk/Cargo.toml b/governance/test-sdk/Cargo.toml index af15d1fda..b1c12c7f0 100644 --- a/governance/test-sdk/Cargo.toml +++ b/governance/test-sdk/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] arrayref = "0.3.9" -bincode = "1.3.2" +bincode = "3.0.0" borsh = "1.5.3" lazy_static = "1.5.0" num-derive = "0.4" diff --git a/governance/tools/Cargo.toml b/governance/tools/Cargo.toml index bf8cdedef..2b124e5c0 100644 --- a/governance/tools/Cargo.toml +++ b/governance/tools/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] arrayref = "0.3.9" -bincode = "1.3.2" +bincode = "3.0.0" borsh = "1.5.3" num-derive = "0.4" num-traits = "0.2" diff --git a/single-pool/cli/Cargo.toml b/single-pool/cli/Cargo.toml index c601d934e..fa8e036cd 100644 --- a/single-pool/cli/Cargo.toml +++ b/single-pool/cli/Cargo.toml @@ -12,7 +12,7 @@ tokio = "1.42" clap = { version = "3.2.23", features = ["derive"] } console = "0.15.10" borsh = "1.5.3" -bincode = "1.3.1" +bincode = "3.0.0" serde = "1.0.217" serde_derive = "1.0.103" serde_json = "1.0.135" diff --git a/single-pool/program/Cargo.toml b/single-pool/program/Cargo.toml index f7c1dd9b1..f1c6671b9 100644 --- a/single-pool/program/Cargo.toml +++ b/single-pool/program/Cargo.toml @@ -33,7 +33,7 @@ spl-associated-token-account = { version = "6.0.0", path = "../../associated-tok ] } spl-associated-token-account-client = { version = "2.0.0", path = "../../associated-token-account/client" } test-case = "3.3" -bincode = "1.3.1" +bincode = "3.0.0" rand = "0.8.5" approx = "0.5.1" diff --git a/slashing/program/Cargo.toml b/slashing/program/Cargo.toml index fd135217b..30a1a4ebb 100644 --- a/slashing/program/Cargo.toml +++ b/slashing/program/Cargo.toml @@ -16,7 +16,7 @@ bitflags = { version = "2.6.0", features = ["serde"] } bytemuck = { version = "1.21.0", features = ["derive"] } num_enum = "0.7.3" generic-array = { version = "0.14.7", features = ["serde"], default-features = false } -bincode = "1.3.3" +bincode = "3.0.0" num-derive = "0.4" num-traits = "0.2" solana-program = "2.1.0" diff --git a/stake-pool/cli/Cargo.toml b/stake-pool/cli/Cargo.toml index c902d1177..473ad109c 100644 --- a/stake-pool/cli/Cargo.toml +++ b/stake-pool/cli/Cargo.toml @@ -34,7 +34,7 @@ spl-token = { version = "=7.0", path = "../../token/program", features = [ "no-entrypoint", ] } bs58 = "0.5.1" -bincode = "1.3.1" +bincode = "3.0.0" [[bin]] name = "spl-stake-pool" diff --git a/stake-pool/program/Cargo.toml b/stake-pool/program/Cargo.toml index 59710cc25..e8a40d662 100644 --- a/stake-pool/program/Cargo.toml +++ b/stake-pool/program/Cargo.toml @@ -29,7 +29,7 @@ spl-token-2022 = { version = "6.0.0", path = "../../token/program-2022", feature "no-entrypoint", ] } thiserror = "2.0" -bincode = "1.3.1" +bincode = "3.0.0" [dev-dependencies] assert_matches = "1.5.0" diff --git a/token/client/Cargo.toml b/token/client/Cargo.toml index 945476345..65a8209d9 100644 --- a/token/client/Cargo.toml +++ b/token/client/Cargo.toml @@ -9,7 +9,7 @@ version = "0.13.0" [dependencies] async-trait = "0.1" -bincode = "1.3.2" +bincode = "3.0.0" bytemuck = "1.21.0" futures = "0.3.31" futures-util = "0.3"