diff --git a/Cargo.lock b/Cargo.lock index 4f3a8ca3820..7c95dd113b2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -923,9 +923,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.18.0" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae" +checksum = "8b37c88a63ffd85d15b406896cc343916d7cf57838a847b3a6f2ca5d39a5695a" dependencies = [ "bytemuck_derive", ] diff --git a/libraries/concurrent-merkle-tree/Cargo.toml b/libraries/concurrent-merkle-tree/Cargo.toml index 0d0c7490ce5..fe636db228e 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.18" +bytemuck = "1.20" thiserror = "1.0.63" [dev-dependencies] diff --git a/libraries/discriminator/Cargo.toml b/libraries/discriminator/Cargo.toml index ecef403f80e..408fc6de51a 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.18.0", features = ["derive"] } +bytemuck = { version = "1.20.0", features = ["derive"] } solana-program = "2.0.3" spl-discriminator-derive = { version = "0.2.0", path = "./derive" } diff --git a/libraries/pod/Cargo.toml b/libraries/pod/Cargo.toml index 721fef1f580..da7dd7496c6 100644 --- a/libraries/pod/Cargo.toml +++ b/libraries/pod/Cargo.toml @@ -13,7 +13,7 @@ borsh = ["dep:borsh"] [dependencies] borsh = { version = "1.5.1", optional = true } -bytemuck = { version = "1.18.0" } +bytemuck = { version = "1.20.0" } bytemuck_derive = { version = "1.7.1" } serde = { version = "1.0.210", optional = true } solana-program = "2.0.3" diff --git a/libraries/tlv-account-resolution/Cargo.toml b/libraries/tlv-account-resolution/Cargo.toml index fad5417cd0e..def151031ad 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.18.0", features = ["derive"] } +bytemuck = { version = "1.20.0", features = ["derive"] } serde = { version = "1.0.210", optional = true } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../discriminator" } diff --git a/libraries/type-length-value/Cargo.toml b/libraries/type-length-value/Cargo.toml index 47f5b424374..dc0300d1214 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.18.0", features = ["derive"] } +bytemuck = { version = "1.20.0", features = ["derive"] } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0", path = "../discriminator" } spl-program-error = { version = "0.5.0", path = "../program-error" } diff --git a/record/program/Cargo.toml b/record/program/Cargo.toml index 07fe5c65c47..e1a891c2496 100644 --- a/record/program/Cargo.toml +++ b/record/program/Cargo.toml @@ -12,7 +12,7 @@ no-entrypoint = [] test-sbf = [] [dependencies] -bytemuck = { version = "1.18.0", features = ["derive"] } +bytemuck = { version = "1.20.0", features = ["derive"] } num-derive = "0.4" num-traits = "0.2" solana-program = "2.0.3" diff --git a/stake-pool/program/Cargo.toml b/stake-pool/program/Cargo.toml index 1141cae5f6b..70786d30795 100644 --- a/stake-pool/program/Cargo.toml +++ b/stake-pool/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.8" borsh = "1.5.1" -bytemuck = "1.18" +bytemuck = "1.20" 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 ff83e7452e8..83b681915e4 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.18.0" +bytemuck = "1.20.0" solana-program = "2.0.3" spl-discriminator = { version = "0.3.0" , path = "../../libraries/discriminator" } spl-pod = { version = "0.4.0", path = "../../libraries/pod", features = ["borsh"] } diff --git a/token-lending/program/Cargo.toml b/token-lending/program/Cargo.toml index f6f8871bcf7..c4e757d15da 100644 --- a/token-lending/program/Cargo.toml +++ b/token-lending/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.8" -bytemuck = "1.18.0" +bytemuck = "1.20.0" num-derive = "0.4" num-traits = "0.2" solana-program = "2.0.3" diff --git a/token-wrap/program/Cargo.toml b/token-wrap/program/Cargo.toml index ee35482f5cd..c48ada9a1bd 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.18.0", features = ["derive"] } +bytemuck = { version = "1.20.0", features = ["derive"] } num_enum = "0.7" solana-program = "2.0.3" spl-associated-token-account = { version = "5.0.1", path = "../../associated-token-account/program", features = ["no-entrypoint"] } diff --git a/token/client/Cargo.toml b/token/client/Cargo.toml index d4fc873e13d..f246ae00d92 100644 --- a/token/client/Cargo.toml +++ b/token/client/Cargo.toml @@ -10,7 +10,7 @@ version = "0.12.1" [dependencies] async-trait = "0.1" bincode = "1.3.2" -bytemuck = "1.18.0" +bytemuck = "1.20.0" futures = "0.3.30" futures-util = "0.3" solana-banks-interface = "2.0.3" diff --git a/token/confidential-transfer/ciphertext-arithmetic/Cargo.toml b/token/confidential-transfer/ciphertext-arithmetic/Cargo.toml index e9b8997189a..68b7decb3d8 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.18.0" +bytemuck = "1.20.0" solana-curve25519 = "2.0.3" solana-zk-sdk = "2.0.3" diff --git a/token/confidential-transfer/proof-extraction/Cargo.toml b/token/confidential-transfer/proof-extraction/Cargo.toml index a2850b0ff2b..838f5215324 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.18.0" +bytemuck = "1.20.0" solana-curve25519 = "2.0.3" solana-zk-sdk = "2.0.3" thiserror = "1.0.63" diff --git a/token/program-2022-test/Cargo.toml b/token/program-2022-test/Cargo.toml index 799c3d424aa..79513f45373 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.1" -bytemuck = "1.18.0" +bytemuck = "1.20.0" futures-util = "0.3" solana-program = "2.0.3" solana-program-test = "2.0.3" diff --git a/token/program-2022/Cargo.toml b/token/program-2022/Cargo.toml index 9d5880caeb4..a5d5ebe2e24 100644 --- a/token/program-2022/Cargo.toml +++ b/token/program-2022/Cargo.toml @@ -18,7 +18,7 @@ zk-ops = [] [dependencies] arrayref = "0.3.8" -bytemuck = { version = "1.18.0", features = ["derive"] } +bytemuck = { version = "1.20.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 f3e3658b786..cb9a102650e 100644 --- a/token/program/Cargo.toml +++ b/token/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.8" -bytemuck = "1.18.0" +bytemuck = "1.20.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 763ea7e8fd5..415b89b211e 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.8" -bytemuck = { version = "1.18.0", features = ["derive"] } +bytemuck = { version = "1.20.0", features = ["derive"] } solana-program = "2.0.3" spl-discriminator = { version = "0.3.0" , path = "../../../libraries/discriminator" } spl-program-error = { version = "0.5.0" , path = "../../../libraries/program-error" }