diff --git a/Cargo.lock b/Cargo.lock index dda4686d71..fcd7d146ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -32,7 +32,7 @@ dependencies = [ "light-merkle-tree-reference", "light-zero-copy", "num-bigint 0.4.6", - "rand 0.8.5", + "rand 0.9.2", "solana-sdk", "solana-security-txt", "zerocopy", @@ -65,7 +65,7 @@ dependencies = [ "light-verifier", "litesvm", "num-bigint 0.4.6", - "rand 0.8.5", + "rand 0.9.2", "serial_test", "solana-sdk", "tokio", @@ -1268,7 +1268,7 @@ dependencies = [ "light-test-utils", "light-zero-copy", "num-bigint 0.4.6", - "rand 0.8.5", + "rand 0.9.2", "solana-account", "solana-account-decoder-client-types", "solana-address-lookup-table-interface", @@ -1342,7 +1342,7 @@ dependencies = [ "light-system-program-anchor", "light-test-utils", "light-verifier", - "rand 0.8.5", + "rand 0.9.2", "serial_test", "solana-sdk", "spl-token", @@ -2142,7 +2142,7 @@ dependencies = [ "num-bigint 0.4.6", "photon-api", "prometheus", - "rand 0.8.5", + "rand 0.9.2", "reqwest 0.12.23", "scopeguard", "serde", @@ -2188,7 +2188,7 @@ dependencies = [ "light-sparse-merkle-tree", "num-bigint 0.4.6", "num-traits", - "rand 0.8.5", + "rand 0.9.2", "reqwest 0.12.23", "serde", "serde_json", @@ -3250,7 +3250,7 @@ version = "0.3.0" dependencies = [ "borsh 0.10.4", "pinocchio", - "rand 0.8.5", + "rand 0.9.2", "solana-account-info", "solana-program-error", "solana-pubkey", @@ -3276,7 +3276,7 @@ dependencies = [ "light-verifier", "light-zero-copy", "pinocchio", - "rand 0.8.5", + "rand 0.9.2", "serial_test", "solana-account-info", "solana-msg", @@ -3296,7 +3296,7 @@ dependencies = [ "light-hasher", "num-bigint 0.4.6", "pinocchio", - "rand 0.8.5", + "rand 0.9.2", "solana-nostd-keccak", "solana-program-error", "thiserror 2.0.14", @@ -3334,7 +3334,7 @@ dependencies = [ "num-bigint 0.4.6", "num-traits", "photon-api", - "rand 0.8.5", + "rand 0.9.2", "solana-account", "solana-account-decoder-client-types", "solana-address-lookup-table-interface", @@ -3374,7 +3374,7 @@ dependencies = [ "light-zero-copy", "num-bigint 0.4.6", "pinocchio", - "rand 0.8.5", + "rand 0.9.2", "solana-program-error", "solana-pubkey", "thiserror 2.0.14", @@ -3394,7 +3394,7 @@ dependencies = [ "light-system-program-anchor", "light-zero-copy", "num-bigint 0.4.6", - "rand 0.8.5", + "rand 0.9.2", "solana-sdk", "solana-security-txt", "spl-token", @@ -3417,7 +3417,7 @@ dependencies = [ "num-bigint 0.4.6", "num-traits", "pinocchio", - "rand 0.8.5", + "rand 0.9.2", "solana-program-error", "thiserror 2.0.14", "tokio", @@ -3432,7 +3432,7 @@ dependencies = [ "light-hasher", "num-bigint 0.4.6", "num-traits", - "rand 0.8.5", + "rand 0.9.2", "solana-program-error", "thiserror 2.0.14", ] @@ -3448,7 +3448,7 @@ dependencies = [ "light-poseidon 0.3.0", "num-bigint 0.4.6", "pinocchio", - "rand 0.8.5", + "rand 0.9.2", "sha2 0.10.9", "sha3", "solana-nostd-keccak", @@ -3471,7 +3471,7 @@ dependencies = [ "light-hasher", "num-bigint 0.4.6", "num-traits", - "rand 0.8.5", + "rand 0.9.2", "thiserror 2.0.14", ] @@ -3487,7 +3487,7 @@ dependencies = [ "num-bigint 0.4.6", "num-traits", "pinocchio", - "rand 0.8.5", + "rand 0.9.2", "solana-program-error", "thiserror 2.0.14", ] @@ -3526,7 +3526,7 @@ dependencies = [ "light-indexed-array", "num-bigint 0.4.6", "num-traits", - "rand 0.8.5", + "rand 0.9.2", "thiserror 2.0.14", ] @@ -3581,7 +3581,7 @@ dependencies = [ "num-bigint 0.4.6", "num-traits", "photon-api", - "rand 0.8.5", + "rand 0.9.2", "reqwest 0.12.23", "solana-account", "solana-banks-client", @@ -3716,7 +3716,7 @@ dependencies = [ "light-merkle-tree-reference", "num-bigint 0.4.6", "num-traits", - "rand 0.8.5", + "rand 0.9.2", "thiserror 2.0.14", ] @@ -3751,7 +3751,7 @@ dependencies = [ "light-zero-copy", "pinocchio", "pinocchio-system", - "rand 0.8.5", + "rand 0.9.2", "solana-pubkey", "solana-security-txt", "thiserror 2.0.14", @@ -3787,7 +3787,7 @@ dependencies = [ "log", "num-bigint 0.4.6", "num-traits", - "rand 0.8.5", + "rand 0.9.2", "reqwest 0.12.23", "solana-banks-client", "solana-sdk", @@ -3815,7 +3815,7 @@ dependencies = [ "borsh 0.10.4", "light-zero-copy-derive", "pinocchio", - "rand 0.8.5", + "rand 0.9.2", "solana-program-error", "zerocopy", ] @@ -3829,7 +3829,7 @@ dependencies = [ "light-zero-copy", "proc-macro2", "quote", - "rand 0.8.5", + "rand 0.9.2", "syn 2.0.105", "trybuild", "zerocopy", @@ -9035,7 +9035,7 @@ dependencies = [ "light-system-program-anchor", "light-test-utils", "light-verifier", - "rand 0.8.5", + "rand 0.9.2", "serial_test", "solana-sdk", "tokio", @@ -9064,7 +9064,7 @@ dependencies = [ "light-system-program-anchor", "light-test-utils", "light-verifier", - "rand 0.8.5", + "rand 0.9.2", "serial_test", "solana-sdk", "tokio", @@ -10628,7 +10628,7 @@ dependencies = [ "light-test-utils", "num-bigint 0.4.6", "quote", - "rand 0.8.5", + "rand 0.9.2", "serde_json", "sha2 0.10.9", "solana-client", diff --git a/Cargo.toml b/Cargo.toml index 881233cd9c..56ce6ce894 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -212,4 +212,4 @@ serial_test = "3.2.0" governor = "0.8.0" # Random -rand = "0.8.5" +rand = "0.9.2" diff --git a/program-libs/zero-copy-derive/Cargo.toml b/program-libs/zero-copy-derive/Cargo.toml index 1cdc8254e8..2bf0760c88 100644 --- a/program-libs/zero-copy-derive/Cargo.toml +++ b/program-libs/zero-copy-derive/Cargo.toml @@ -20,7 +20,7 @@ lazy_static = "1.4" [dev-dependencies] trybuild = "1.0" -rand = "0.8" +rand = "0.9" borsh = { workspace = true } light-zero-copy = { workspace = true, features = ["std", "derive"] } zerocopy = { workspace = true, features = ["derive"] }