diff --git a/Cargo.lock b/Cargo.lock index a4d4b77430c..6eef5e7e0f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -934,9 +934,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.20.0" +version = "1.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b37c88a63ffd85d15b406896cc343916d7cf57838a847b3a6f2ca5d39a5695a" +checksum = "ef657dfab802224e671f5818e9a4935f9b1957ed18e58292690cc39e7a4092a3" dependencies = [ "bytemuck_derive", ] diff --git a/libraries/concurrent-merkle-tree/Cargo.toml b/libraries/concurrent-merkle-tree/Cargo.toml index 9df9f096c5b..9da6cc01c97 100644 --- a/libraries/concurrent-merkle-tree/Cargo.toml +++ b/libraries/concurrent-merkle-tree/Cargo.toml @@ -13,7 +13,7 @@ sol-log = ["log"] [dependencies] solana-program = ">=1.18.11,<=2" -bytemuck = "1.20" +bytemuck = "1.21" thiserror = "2.0.8" [dev-dependencies] diff --git a/libraries/discriminator/Cargo.toml b/libraries/discriminator/Cargo.toml index 7579c29d3d3..fae99bbeea3 100644 --- a/libraries/discriminator/Cargo.toml +++ b/libraries/discriminator/Cargo.toml @@ -12,7 +12,7 @@ borsh = ["dep:borsh"] [dependencies] borsh = { version = "1", optional = true } -bytemuck = { version = "1.20.0", features = ["derive"] } +bytemuck = { version = "1.21.0", features = ["derive"] } solana-program-error = "2.1.0" solana-sha256-hasher = "2.1.0" spl-discriminator-derive = { version = "0.2.0", path = "./derive" } diff --git a/libraries/pod/Cargo.toml b/libraries/pod/Cargo.toml index a6363a93391..88090b7f543 100644 --- a/libraries/pod/Cargo.toml +++ b/libraries/pod/Cargo.toml @@ -13,7 +13,7 @@ borsh = ["dep:borsh"] [dependencies] borsh = { version = "1.5.3", optional = true } -bytemuck = { version = "1.20.0" } +bytemuck = { version = "1.21.0" } bytemuck_derive = { version = "1.8.0" } num-derive = "0.4" num-traits = "0.2" diff --git a/libraries/tlv-account-resolution/Cargo.toml b/libraries/tlv-account-resolution/Cargo.toml index fffd7b83197..736f73a38c2 100644 --- a/libraries/tlv-account-resolution/Cargo.toml +++ b/libraries/tlv-account-resolution/Cargo.toml @@ -12,7 +12,7 @@ serde-traits = ["dep:serde"] test-sbf = [] [dependencies] -bytemuck = { version = "1.20.0", features = ["derive"] } +bytemuck = { version = "1.21.0", features = ["derive"] } num-derive = "0.4" num-traits = "0.2" serde = { version = "1.0.216", optional = true } diff --git a/libraries/type-length-value/Cargo.toml b/libraries/type-length-value/Cargo.toml index 63da3aeee59..0ef918ebb35 100644 --- a/libraries/type-length-value/Cargo.toml +++ b/libraries/type-length-value/Cargo.toml @@ -12,7 +12,7 @@ exclude = ["js/**"] derive = ["dep:spl-type-length-value-derive"] [dependencies] -bytemuck = { version = "1.20.0", features = ["derive"] } +bytemuck = { version = "1.21.0", features = ["derive"] } num-derive = "0.4" num-traits = "0.2" solana-account-info = "2.1.0" diff --git a/record/program/Cargo.toml b/record/program/Cargo.toml index 669a295ed0d..5d9ebe6fc79 100644 --- a/record/program/Cargo.toml +++ b/record/program/Cargo.toml @@ -12,7 +12,7 @@ no-entrypoint = [] test-sbf = [] [dependencies] -bytemuck = { version = "1.20.0", features = ["derive"] } +bytemuck = { version = "1.21.0", features = ["derive"] } num-derive = "0.4" num-traits = "0.2" solana-account-info = "2.1.0" diff --git a/slashing/program/Cargo.toml b/slashing/program/Cargo.toml index 2f07908e5fe..783102e8e22 100644 --- a/slashing/program/Cargo.toml +++ b/slashing/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] bitflags = { version = "2.6.0", features = ["serde"] } -bytemuck = { version = "1.19.0", features = ["derive"] } +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" diff --git a/stake-pool/program/Cargo.toml b/stake-pool/program/Cargo.toml index 0718ffa98a9..583893f990c 100644 --- a/stake-pool/program/Cargo.toml +++ b/stake-pool/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.9" borsh = "1.5.3" -bytemuck = "1.20" +bytemuck = "1.21" num-derive = "0.4" num-traits = "0.2" num_enum = "0.7.3" diff --git a/token-group/interface/Cargo.toml b/token-group/interface/Cargo.toml index 655cf235be5..49a7c6332d0 100644 --- a/token-group/interface/Cargo.toml +++ b/token-group/interface/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" edition = "2021" [dependencies] -bytemuck = "1.20.0" +bytemuck = "1.21.0" num-derive = "0.4" num-traits = "0.2" solana-decode-error = "2.1.0" diff --git a/token-lending/program/Cargo.toml b/token-lending/program/Cargo.toml index 63dee31b109..bff11a1ed35 100644 --- a/token-lending/program/Cargo.toml +++ b/token-lending/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.9" -bytemuck = "1.20.0" +bytemuck = "1.21.0" num-derive = "0.4" num-traits = "0.2" solana-program = "2.1.0" diff --git a/token-wrap/program/Cargo.toml b/token-wrap/program/Cargo.toml index 371f4aa9dc4..30fa2944786 100644 --- a/token-wrap/program/Cargo.toml +++ b/token-wrap/program/Cargo.toml @@ -12,7 +12,7 @@ no-entrypoint = [] test-sbf = [] [dependencies] -bytemuck = { version = "1.20.0", features = ["derive"] } +bytemuck = { version = "1.21.0", features = ["derive"] } num_enum = "0.7" solana-program = "2.1.0" spl-associated-token-account = { version = "6.0.0", path = "../../associated-token-account/program", features = ["no-entrypoint"] } diff --git a/token/client/Cargo.toml b/token/client/Cargo.toml index c7d3d94a2b5..94547634576 100644 --- a/token/client/Cargo.toml +++ b/token/client/Cargo.toml @@ -10,7 +10,7 @@ version = "0.13.0" [dependencies] async-trait = "0.1" bincode = "1.3.2" -bytemuck = "1.20.0" +bytemuck = "1.21.0" futures = "0.3.31" futures-util = "0.3" solana-banks-interface = "2.1.0" diff --git a/token/confidential-transfer/ciphertext-arithmetic/Cargo.toml b/token/confidential-transfer/ciphertext-arithmetic/Cargo.toml index 51eba041460..865ee202d0d 100644 --- a/token/confidential-transfer/ciphertext-arithmetic/Cargo.toml +++ b/token/confidential-transfer/ciphertext-arithmetic/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] base64 = "0.22.1" -bytemuck = "1.20.0" +bytemuck = "1.21.0" solana-curve25519 = "2.1.0" solana-zk-sdk = "2.1.0" diff --git a/token/confidential-transfer/elgamal-registry/Cargo.toml b/token/confidential-transfer/elgamal-registry/Cargo.toml index b9e7326b7d9..6524babd167 100644 --- a/token/confidential-transfer/elgamal-registry/Cargo.toml +++ b/token/confidential-transfer/elgamal-registry/Cargo.toml @@ -12,7 +12,7 @@ no-entrypoint = [] test-sbf = [] [dependencies] -bytemuck = { version = "1.20.0", features = ["derive"] } +bytemuck = { version = "1.21.0", features = ["derive"] } solana-program = "2.1.0" solana-zk-sdk = "2.1.0" spl-pod = { version = "0.5.0", path = "../../../libraries/pod" } diff --git a/token/confidential-transfer/proof-extraction/Cargo.toml b/token/confidential-transfer/proof-extraction/Cargo.toml index df280b4326f..3276aba0b04 100644 --- a/token/confidential-transfer/proof-extraction/Cargo.toml +++ b/token/confidential-transfer/proof-extraction/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" edition = "2021" [dependencies] -bytemuck = "1.20.0" +bytemuck = "1.21.0" solana-curve25519 = "2.1.0" solana-program = "2.1.0" solana-zk-sdk = "2.1.0" diff --git a/token/program-2022-test/Cargo.toml b/token/program-2022-test/Cargo.toml index 99c4e1842d6..2e280ee764a 100644 --- a/token/program-2022-test/Cargo.toml +++ b/token/program-2022-test/Cargo.toml @@ -18,7 +18,7 @@ walkdir = "2" [dev-dependencies] async-trait = "0.1" borsh = "1.5.3" -bytemuck = "1.20.0" +bytemuck = "1.21.0" futures-util = "0.3" solana-program = "2.1.0" solana-program-test = "2.1.0" diff --git a/token/program-2022/Cargo.toml b/token/program-2022/Cargo.toml index 9aa33a41bb7..28f2094f0d9 100644 --- a/token/program-2022/Cargo.toml +++ b/token/program-2022/Cargo.toml @@ -18,7 +18,7 @@ zk-ops = [] [dependencies] arrayref = "0.3.9" -bytemuck = { version = "1.20.0", features = ["derive"] } +bytemuck = { version = "1.21.0", features = ["derive"] } num-derive = "0.4" num-traits = "0.2" num_enum = "0.7.3" diff --git a/token/program/Cargo.toml b/token/program/Cargo.toml index c0788db3792..72153f7eb79 100644 --- a/token/program/Cargo.toml +++ b/token/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.9" -bytemuck = "1.20.0" +bytemuck = "1.21.0" num-derive = "0.4" num-traits = "0.2" num_enum = "0.7.3" diff --git a/token/transfer-hook/interface/Cargo.toml b/token/transfer-hook/interface/Cargo.toml index 601189d01f2..c8b70cad60d 100644 --- a/token/transfer-hook/interface/Cargo.toml +++ b/token/transfer-hook/interface/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] arrayref = "0.3.9" -bytemuck = { version = "1.20.0", features = ["derive"] } +bytemuck = { version = "1.21.0", features = ["derive"] } num-derive = "0.4" num-traits = "0.2" solana-account-info = "2.1.0"