diff --git a/Cargo.lock b/Cargo.lock index 13d8aad7..00248854 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -452,6 +452,26 @@ dependencies = [ "serde", ] +[[package]] +name = "bincode" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36eaf5d7b090263e8150820482d5d93cd964a81e4019913c972f4edcc6edb740" +dependencies = [ + "bincode_derive", + "serde", + "unty", +] + +[[package]] +name = "bincode_derive" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf95709a440f45e986983918d0e8a1f30a9b1df04918fc828670606804ac3c09" +dependencies = [ + "virtue", +] + [[package]] name = "bit-set" version = "0.8.0" @@ -3814,7 +3834,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f949fe4edaeaea78c844023bfc1c898e0b1f5a100f8a8d2d0f85d0a7b090258" dependencies = [ - "bincode", + "bincode 1.3.3", "serde", "serde_bytes", "serde_derive", @@ -3834,7 +3854,7 @@ checksum = "8db59bff0a5d42bd756cfe5ad08d720d4e4259794e5f4ee8eb7422610dd56d2b" dependencies = [ "Inflector", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bs58", "bv", "lazy_static", @@ -3887,7 +3907,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0c17d606a298a205fae325489fbed88ee6dc4463c111672172327e741c8905d" dependencies = [ - "bincode", + "bincode 1.3.3", "serde", "solana-program-error", "solana-program-memory", @@ -3901,7 +3921,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b7c93e9f9184f8c785da2136e84adb4123e45297890ec1d39baa2f693bc83c3" dependencies = [ "ahash", - "bincode", + "bincode 1.3.3", "blake3", "bv", "bytemuck", @@ -3949,7 +3969,7 @@ version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d1673f67efe870b64a65cb39e6194be5b26527691ce5922909939961a6e6b395" dependencies = [ - "bincode", + "bincode 1.3.3", "bytemuck", "serde", "serde_derive", @@ -3966,7 +3986,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bffd21cefb44a61a051f5f36bdb8863b619754e057099506a73cabd8716b10d4" dependencies = [ - "bincode", + "bincode 1.3.3", "bytemuck", "log", "num-derive", @@ -4029,7 +4049,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f3a1c619d54d4a8c30802b4ac6f572a293914e592f2c3e904be3cdacbb22333" dependencies = [ - "bincode", + "bincode 1.3.3", "crossbeam-channel", "futures", "solana-banks-interface", @@ -4062,7 +4082,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19a3787b8cf9c9fe3dd360800e8b70982b9e5a8af9e11c354b6665dd4a003adc" dependencies = [ - "bincode", + "bincode 1.3.3", "serde", "solana-instruction", ] @@ -4110,7 +4130,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f452bd2217eb46f24a828c7408c9e4fef2cc1767656560ca26006e20febf4068" dependencies = [ - "bincode", + "bincode 1.3.3", "libsecp256k1", "qualifier_attr", "scopeguard", @@ -4313,7 +4333,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c77e1bdc6d727070a3ddfb571cfaf4a8e46a4d81049fd8510c7fe12a40b4768" dependencies = [ "async-trait", - "bincode", + "bincode 1.3.3", "dashmap", "futures", "futures-util", @@ -4467,7 +4487,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0f6a00ecb0eb3e4c68186a26216deb6c2376929f235fc9f3fd59e5745df937a" dependencies = [ - "bincode", + "bincode 1.3.3", "chrono", "serde", "serde_derive", @@ -4492,7 +4512,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcdc19eff90b17e022a5642b7ab0d3fe5c8dc251cb9d2b032dc73bd25fa4171e" dependencies = [ "async-trait", - "bincode", + "bincode 1.3.3", "crossbeam-channel", "futures-util", "indexmap", @@ -4682,7 +4702,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f9c7fbf3e58b64a667c5f35e90af580538a95daea7001ff7806c0662d301bdf" dependencies = [ - "bincode", + "bincode 1.3.3", "serde", "serde_derive", "solana-account", @@ -4749,7 +4769,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "968dabd2b92d57131473eddbd475339da530e14f54397386abf303de3a2595a2" dependencies = [ - "bincode", + "bincode 1.3.3", "chrono", "memmap2", "serde", @@ -4828,7 +4848,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ce496a475e5062ba5de97215ab39d9c358f9c9df4bb7f3a45a1f1a8bd9065ed" dependencies = [ - "bincode", + "bincode 1.3.3", "borsh 1.5.7", "getrandom 0.2.15", "js-sys", @@ -5015,7 +5035,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "268486ba8a294ed22a4d7c1ec05f540c3dbe71cfa7c6c54b6d4d13668d895678" dependencies = [ - "bincode", + "bincode 1.3.3", "blake3", "lazy_static", "serde", @@ -5072,7 +5092,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "797b3c3534d999e868e5859392976619653b3bc679e7e729019b462c775bb498" dependencies = [ "anyhow", - "bincode", + "bincode 1.3.3", "bytes", "crossbeam-channel", "itertools 0.12.1", @@ -5141,7 +5161,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "004f2d2daf407b3ec1a1ca5ec34b3ccdfd6866dd2d3c7d0715004a96e4b6d127" dependencies = [ - "bincode", + "bincode 1.3.3", "bitflags 2.8.0", "cfg_eval", "serde", @@ -5156,7 +5176,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "682214ffa84ad08fe3a3a013fc0a487596b007027777fa7d7f865d8dcd3d808c" dependencies = [ "ahash", - "bincode", + "bincode 1.3.3", "bv", "caps", "curve25519-dalek 4.1.3", @@ -5247,7 +5267,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "586469467e93ceb79048f8d8e3a619bf61d05396ee7de95cb40280301a589d05" dependencies = [ - "bincode", + "bincode 1.3.3", "blake3", "borsh 0.10.4", "borsh 1.5.7", @@ -5381,7 +5401,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef8ce68ce0f2777490a7ca3662d1c793e1dd5a400c9772514025185838fc5162" dependencies = [ "base64 0.22.1", - "bincode", + "bincode 1.3.3", "enum-iterator", "itertools 0.12.1", "log", @@ -5424,7 +5444,7 @@ dependencies = [ "assert_matches", "async-trait", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "chrono-humanize", "crossbeam-channel", "log", @@ -5650,7 +5670,7 @@ checksum = "039ad5152d72bd530ecc98dc55fa36d7e16ce92b2faf58befc07d51da1b72cdb" dependencies = [ "async-trait", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bs58", "indicatif", "log", @@ -5738,7 +5758,7 @@ dependencies = [ "aquamarine", "arrayref", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "blake3", "bv", "bytemuck", @@ -5864,7 +5884,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4808e8d7f3c931657e615042d4176b423e66f64dc99e3dc3c735a197e512029b" dependencies = [ - "bincode", + "bincode 1.3.3", "bs58", "getrandom 0.1.16", "js-sys", @@ -5956,7 +5976,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a0a1caa972414cc78122c32bdae65ac5fe89df7db598585a5cde19d16a20280a" dependencies = [ - "bincode", + "bincode 1.3.3", "digest 0.10.7", "libsecp256k1", "serde", @@ -6188,7 +6208,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7045076ed29255f228dede3a2554755449a610e42f3694afadb59e3424920858" dependencies = [ - "bincode", + "bincode 1.3.3", "log", "solana-account", "solana-bincode", @@ -6348,7 +6368,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef4c7851977d6fc24c5d734b836c5c1d5c0f40d07d835c1bcc76021e325492c5" dependencies = [ - "bincode", + "bincode 1.3.3", "log", "serde", "serde_derive", @@ -6390,7 +6410,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf6b44740d7f0c9f375d045c165bc0aab4a90658f92d6835aeb0649afaeaff9a" dependencies = [ "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bytemuck", "bytemuck_derive", "lazy_static", @@ -6436,7 +6456,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6c6b2376c3e0a6ae5538d86818e403841b8b11861c6b39a943221c6c2164eea" dependencies = [ - "bincode", + "bincode 1.3.3", "log", "rayon", "solana-account", @@ -6496,7 +6516,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1045fd558ad215e8d2f2a0e87154444ea0dc8821a80f088dcdcf4831a510879a" dependencies = [ "async-trait", - "bincode", + "bincode 1.3.3", "futures-util", "indexmap", "indicatif", @@ -6529,7 +6549,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "753b3e9afed170e4cfc0ea1e87b5dfdc6d4a50270869414edd24c6ea1f529b29" dependencies = [ - "bincode", + "bincode 1.3.3", "serde", "serde_derive", "solana-bincode", @@ -6557,7 +6577,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5022de04cbba05377f68bf848c8c1322ead733f88a657bf792bb40f3257b8218" dependencies = [ - "bincode", + "bincode 1.3.3", "serde", "serde_derive", "solana-account", @@ -6586,7 +6606,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7d97bffaf9515adbf3b1a04efbc9dbc815d635da684f358357e76abdbe2a4e5" dependencies = [ "base64 0.22.1", - "bincode", + "bincode 1.3.3", "lazy_static", "log", "rand 0.8.5", @@ -6604,7 +6624,7 @@ checksum = "0ddcf3ac1d17457a5e07145ba18aaf275f62b7c471d56febe1a2c2f3049a7913" dependencies = [ "Inflector", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "borsh 1.5.7", "bs58", "lazy_static", @@ -6644,7 +6664,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6d348cd4cd79cab56e58590a301aef5b5247ba503f94f97900db3a0f8f7ff94" dependencies = [ "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bs58", "serde", "serde_derive", @@ -6750,7 +6770,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4507bb9d071fb81cfcf676f12fba3db4098f764524ef0b5567d671a81d41f3e" dependencies = [ - "bincode", + "bincode 1.3.3", "num-derive", "num-traits", "serde", @@ -6774,7 +6794,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4862f099c25d20857d270a2423ed4e0dd11038ad2f7f25905ff72c33c5132828" dependencies = [ - "bincode", + "bincode 1.3.3", "log", "num-derive", "num-traits", @@ -6826,7 +6846,7 @@ checksum = "26f66acae4f01a718825ae0201ea0a05ae3c9a3afb27a7eed6f0803b96da639b" dependencies = [ "aes-gcm-siv", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bytemuck", "bytemuck_derive", "curve25519-dalek 4.1.3", @@ -6880,7 +6900,7 @@ checksum = "77367202d84b62d224289ff7174ddecd737626108e5a3278deb1c3b38d050084" dependencies = [ "aes-gcm-siv", "base64 0.22.1", - "bincode", + "bincode 1.3.3", "bytemuck", "bytemuck_derive", "curve25519-dalek 4.1.3", @@ -7057,7 +7077,7 @@ version = "2.0.1" dependencies = [ "arrayref", "assert_matches", - "bincode", + "bincode 2.0.1", "borsh 1.5.7", "bytemuck", "num-derive", @@ -7082,7 +7102,7 @@ dependencies = [ name = "spl-stake-pool-cli" version = "2.0.1" dependencies = [ - "bincode", + "bincode 2.0.1", "borsh 1.5.7", "bs58", "clap", @@ -7782,7 +7802,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", @@ -8044,6 +8064,12 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" +[[package]] +name = "unty" +version = "0.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae" + [[package]] name = "uriparse" version = "0.6.4" @@ -8107,6 +8133,12 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" +[[package]] +name = "virtue" +version = "0.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "051eb1abcf10076295e815102942cc58f9d5e3b4560e46e53c21e8ff6f3af7b1" + [[package]] name = "void" version = "1.0.2" diff --git a/clients/cli/Cargo.toml b/clients/cli/Cargo.toml index ce542081..0e6208bc 100644 --- a/clients/cli/Cargo.toml +++ b/clients/cli/Cargo.toml @@ -34,7 +34,7 @@ spl-token = { version = "=8.0", features = [ "no-entrypoint", ] } bs58 = "0.5.1" -bincode = "1.3.1" +bincode = "2.0.1" [[bin]] name = "spl-stake-pool" diff --git a/program/Cargo.toml b/program/Cargo.toml index def4359a..849a5a9c 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -29,7 +29,7 @@ spl-token-2022 = { version = "7.0.0", features = [ "no-entrypoint", ] } thiserror = "2.0" -bincode = "1.3.1" +bincode = "2.0.1" [dev-dependencies] assert_matches = "1.5.0"