diff --git a/Cargo.lock b/Cargo.lock index 7b0dd0fcede313..3f36323bdac398 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4141,7 +4141,7 @@ version = "1.11.0" dependencies = [ "clap 2.34.0", "log", - "rand 0.7.3", + "rand 0.8.5", "rayon", "solana-account-decoder", "solana-clap-utils", @@ -4199,7 +4199,7 @@ dependencies = [ "clap 3.1.12", "crossbeam-channel", "log", - "rand 0.7.3", + "rand 0.8.5", "rayon", "solana-core", "solana-gossip", @@ -4307,7 +4307,7 @@ dependencies = [ "bv", "fnv", "log", - "rand 0.7.3", + "rand 0.8.5", "rayon", "rustc_version", "serde", @@ -4325,7 +4325,7 @@ dependencies = [ "byteorder", "libsecp256k1", "log", - "rand 0.7.3", + "rand 0.8.5", "solana-measure", "solana-metrics", "solana-program-runtime", @@ -4344,7 +4344,7 @@ dependencies = [ "log", "memmap2", "modular-bitfield", - "rand 0.7.3", + "rand 0.8.5", "rayon", "solana-logger 1.11.0", "solana-measure", @@ -4519,7 +4519,7 @@ dependencies = [ "lru", "quinn", "quinn-proto", - "rand 0.7.3", + "rand 0.8.5", "rand_chacha 0.2.2", "rayon", "reqwest", @@ -4614,7 +4614,7 @@ dependencies = [ "log", "lru", "matches", - "rand 0.7.3", + "rand 0.8.5", "rand_chacha 0.2.2", "raptorq", "rayon", @@ -4668,7 +4668,7 @@ dependencies = [ "bincode", "clap 3.1.12", "log", - "rand 0.7.3", + "rand 0.8.5", "serde", "solana-client", "solana-core", @@ -4700,7 +4700,7 @@ version = "1.11.0" dependencies = [ "assert_matches", "ed25519-dalek", - "rand 0.7.3", + "rand 0.8.5", "solana-program-test", "solana-sdk 1.11.0", ] @@ -4715,7 +4715,7 @@ dependencies = [ "dlopen_derive", "log", "matches", - "rand 0.7.3", + "rand 0.8.5", "rayon", "serde", "solana-logger 1.11.0", @@ -4891,7 +4891,7 @@ dependencies = [ "matches", "num-traits", "num_cpus", - "rand 0.7.3", + "rand 0.8.5", "rand_chacha 0.2.2", "rayon", "rustc_version", @@ -4992,7 +4992,7 @@ dependencies = [ "num_cpus", "num_enum", "prost", - "rand 0.7.3", + "rand 0.8.5", "rand_chacha 0.2.2", "rayon", "reed-solomon-erasure", @@ -5072,7 +5072,7 @@ dependencies = [ "gag", "itertools", "log", - "rand 0.7.3", + "rand 0.8.5", "rayon", "serial_test", "solana-client", @@ -5163,7 +5163,7 @@ dependencies = [ "gethostname", "lazy_static", "log", - "rand 0.7.3", + "rand 0.8.5", "reqwest", "serial_test", "solana-sdk 1.11.0", @@ -5174,7 +5174,7 @@ name = "solana-net-shaper" version = "1.11.0" dependencies = [ "clap 3.1.12", - "rand 0.7.3", + "rand 0.8.5", "serde", "serde_json", "solana-logger 1.11.0", @@ -5189,7 +5189,7 @@ dependencies = [ "crossbeam-channel", "log", "nix", - "rand 0.7.3", + "rand 0.8.5", "serde", "serde_derive", "socket2", @@ -5226,7 +5226,7 @@ dependencies = [ "log", "matches", "nix", - "rand 0.7.3", + "rand 0.8.5", "rayon", "serde", "solana-logger 1.11.0", @@ -5245,7 +5245,7 @@ dependencies = [ "crossbeam-channel", "log", "matches", - "rand 0.7.3", + "rand 0.8.5", "solana-entry", "solana-ledger", "solana-logger 1.11.0", @@ -5264,7 +5264,7 @@ version = "1.11.0" dependencies = [ "clap 3.1.12", "log", - "rand 0.7.3", + "rand 0.8.5", "rayon", "solana-entry", "solana-logger 1.11.0", @@ -5541,7 +5541,7 @@ dependencies = [ "num-traits", "num_cpus", "ouroboros", - "rand 0.7.3", + "rand 0.8.5", "rand_chacha 0.2.2", "rayon", "regex", @@ -5653,7 +5653,7 @@ dependencies = [ "num-traits", "pbkdf2 0.11.0", "qstring", - "rand 0.7.3", + "rand 0.8.5", "rand_chacha 0.2.2", "rustc_version", "rustversion", @@ -5815,7 +5815,7 @@ dependencies = [ "pem", "pkcs8", "quinn", - "rand 0.7.3", + "rand 0.8.5", "rcgen", "rustls", "solana-logger 1.11.0", @@ -5903,7 +5903,7 @@ dependencies = [ "bincode", "clap 2.34.0", "log", - "rand 0.7.3", + "rand 0.8.5", "rayon", "solana-clap-utils", "solana-cli", @@ -5976,7 +5976,7 @@ dependencies = [ "libc", "log", "num_cpus", - "rand 0.7.3", + "rand 0.8.5", "serde", "serde_json", "signal-hook", @@ -6119,7 +6119,7 @@ dependencies = [ "merlin", "num-derive", "num-traits", - "rand 0.7.3", + "rand 0.8.5", "serde", "serde_json", "sha3 0.9.1", diff --git a/accounts-cluster-bench/Cargo.toml b/accounts-cluster-bench/Cargo.toml index a307c22859d570..fe517f83ec4f5b 100644 --- a/accounts-cluster-bench/Cargo.toml +++ b/accounts-cluster-bench/Cargo.toml @@ -11,7 +11,7 @@ publish = false [dependencies] clap = "2.33.1" log = "0.4.14" -rand = "0.7.0" +rand = "0.8.5" rayon = "1.5.2" solana-account-decoder = { path = "../account-decoder", version = "=1.11.0" } solana-clap-utils = { path = "../clap-utils", version = "=1.11.0" } diff --git a/banking-bench/Cargo.toml b/banking-bench/Cargo.toml index 21e53e9a0d153e..d2be0651d962ac 100644 --- a/banking-bench/Cargo.toml +++ b/banking-bench/Cargo.toml @@ -12,7 +12,7 @@ publish = false clap = { version = "3.1.8", features = ["derive"] } crossbeam-channel = "0.5" log = "0.4.14" -rand = "0.7.0" +rand = "0.8.5" rayon = "1.5.2" solana-core = { path = "../core", version = "=1.11.0" } solana-gossip = { path = "../gossip", version = "=1.11.0" } diff --git a/bloom/Cargo.toml b/bloom/Cargo.toml index 2f36fa3d6d6aa2..5f6ed6e9c524bd 100644 --- a/bloom/Cargo.toml +++ b/bloom/Cargo.toml @@ -13,7 +13,7 @@ edition = "2021" bv = { version = "0.11.1", features = ["serde"] } fnv = "1.0.7" log = "0.4.14" -rand = "0.7.0" +rand = "0.8.5" rayon = "1.5.2" serde = { version = "1.0.137", features = ["rc"] } serde_derive = "1.0.103" diff --git a/bucket_map/Cargo.toml b/bucket_map/Cargo.toml index 7c98f6f8ea152c..819fbb38296cba 100644 --- a/bucket_map/Cargo.toml +++ b/bucket_map/Cargo.toml @@ -14,7 +14,7 @@ edition = "2021" log = { version = "0.4.11" } memmap2 = "0.5.3" modular-bitfield = "0.11.2" -rand = "0.7.0" +rand = "0.8.5" solana-measure = { path = "../measure", version = "=1.11.0" } solana-sdk = { path = "../sdk", version = "=1.11.0" } tempfile = "3.3.0" diff --git a/client/Cargo.toml b/client/Cargo.toml index e819d189d56558..fe2b1b17f28567 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -28,7 +28,7 @@ log = "0.4.14" lru = "0.7.5" quinn = "0.8.2" quinn-proto = "0.8.2" -rand = "0.7.0" +rand = "0.8.5" rand_chacha = "0.2.2" rayon = "1.5.2" reqwest = { version = "0.11.10", default-features = false, features = ["blocking", "rustls-tls", "json"] } diff --git a/core/Cargo.toml b/core/Cargo.toml index 593565f286b439..cab15383f23e93 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -27,7 +27,7 @@ histogram = "0.6.9" itertools = "0.10.3" log = "0.4.14" lru = "0.7.5" -rand = "0.7.0" +rand = "0.8.5" rand_chacha = "0.2.2" rayon = "1.5.2" retain_mut = "0.1.7" diff --git a/dos/Cargo.toml b/dos/Cargo.toml index 6f7c3cd30165d7..f150af5661c8da 100644 --- a/dos/Cargo.toml +++ b/dos/Cargo.toml @@ -13,7 +13,7 @@ description = "Tool to send various requests to cluster in order to evaluate the bincode = "1.3.3" clap = {version = "3.1.5", features = ["derive", "cargo"]} log = "0.4.14" -rand = "0.7.0" +rand = "0.8.5" serde = "1.0.137" solana-client = { path = "../client", version = "=1.11.0" } solana-core = { path = "../core", version = "=1.11.0" } diff --git a/entry/Cargo.toml b/entry/Cargo.toml index 5100495801dc78..0aa21c872ace62 100644 --- a/entry/Cargo.toml +++ b/entry/Cargo.toml @@ -15,7 +15,7 @@ crossbeam-channel = "0.5" dlopen = "0.1.8" dlopen_derive = "0.1.4" log = "0.4.11" -rand = "0.7.0" +rand = "0.8.5" rayon = "1.5.2" serde = "1.0.137" solana-measure = { path = "../measure", version = "=1.11.0" } diff --git a/gossip/Cargo.toml b/gossip/Cargo.toml index 6c8905697a4f91..023ad87a837ee5 100644 --- a/gossip/Cargo.toml +++ b/gossip/Cargo.toml @@ -21,7 +21,7 @@ log = "0.4.14" lru = "0.7.5" matches = "0.1.9" num-traits = "0.2" -rand = "0.7.0" +rand = "0.8.5" rand_chacha = "0.2.2" rayon = "1.5.2" serde = "1.0.137" diff --git a/ledger/Cargo.toml b/ledger/Cargo.toml index 16a6ad3445786c..b9ca7700d98777 100644 --- a/ledger/Cargo.toml +++ b/ledger/Cargo.toml @@ -26,7 +26,7 @@ lru = "0.7.5" num_cpus = "1.13.1" num_enum = "0.5.7" prost = "0.10.0" -rand = "0.7.0" +rand = "0.8.5" rand_chacha = "0.2.2" rayon = "1.5.2" reed-solomon-erasure = { version = "5.0.1", features = ["simd-accel"] } diff --git a/local-cluster/Cargo.toml b/local-cluster/Cargo.toml index 37dd66f442d14c..f7a7448682816e 100644 --- a/local-cluster/Cargo.toml +++ b/local-cluster/Cargo.toml @@ -14,7 +14,7 @@ crossbeam-channel = "0.5" fs_extra = "1.2.0" itertools = "0.10.3" log = "0.4.14" -rand = "0.7.0" +rand = "0.8.5" rayon = "1.5.2" solana-client = { path = "../client", version = "=1.11.0" } solana-config-program = { path = "../programs/config", version = "=1.11.0" } diff --git a/metrics/Cargo.toml b/metrics/Cargo.toml index 5a01d97e350f20..f58265228ea002 100644 --- a/metrics/Cargo.toml +++ b/metrics/Cargo.toml @@ -19,7 +19,7 @@ solana-sdk = { path = "../sdk", version = "=1.11.0" } [dev-dependencies] env_logger = "0.9.0" -rand = "0.7.0" +rand = "0.8.5" serial_test = "0.6.0" [lib] diff --git a/net-shaper/Cargo.toml b/net-shaper/Cargo.toml index 4e469c7dc61288..1e9579252f13cc 100644 --- a/net-shaper/Cargo.toml +++ b/net-shaper/Cargo.toml @@ -10,7 +10,7 @@ homepage = "https://solana.com/" publish = false [dependencies] -rand = "0.7.0" +rand = "0.8.5" clap = { version = "3.1.5", features = ["cargo"] } serde = { version = "1.0.137", features = ["derive"] } serde_json = "1.0.80" diff --git a/net-utils/Cargo.toml b/net-utils/Cargo.toml index 0029a947d2ca59..887fed3e9e6f5e 100644 --- a/net-utils/Cargo.toml +++ b/net-utils/Cargo.toml @@ -15,7 +15,7 @@ clap = { version = "3.1.5", features = ["cargo"] } crossbeam-channel = "0.5" log = "0.4.14" nix = "0.24.0" -rand = "0.7.0" +rand = "0.8.5" serde = "1.0.137" serde_derive = "1.0.103" socket2 = "0.4.4" diff --git a/perf/Cargo.toml b/perf/Cargo.toml index 08410388480d94..d7a1278c85d9c9 100644 --- a/perf/Cargo.toml +++ b/perf/Cargo.toml @@ -19,7 +19,7 @@ dlopen_derive = "0.1.4" fnv = "1.0.7" lazy_static = "1.4.0" log = "0.4.14" -rand = "0.7.0" +rand = "0.8.5" rayon = "1.5.2" serde = "1.0.137" solana-metrics = { path = "../metrics", version = "=1.11.0" } diff --git a/poh-bench/Cargo.toml b/poh-bench/Cargo.toml index 12224793d5a307..a258d4be891581 100644 --- a/poh-bench/Cargo.toml +++ b/poh-bench/Cargo.toml @@ -12,7 +12,7 @@ publish = false [dependencies] clap = { version = "3.1.5", features = ["cargo"] } log = "0.4.14" -rand = "0.7.0" +rand = "0.8.5" rayon = "1.5.2" solana-entry = { path = "../entry", version = "=1.11.0" } solana-logger = { path = "../logger", version = "=1.11.0" } diff --git a/poh/Cargo.toml b/poh/Cargo.toml index 3ca1036865c45e..5dc06ed0f1832e 100644 --- a/poh/Cargo.toml +++ b/poh/Cargo.toml @@ -25,7 +25,7 @@ thiserror = "1.0" [dev-dependencies] bincode = "1.3.3" matches = "0.1.9" -rand = "0.7.0" +rand = "0.8.5" solana-logger = { path = "../logger", version = "=1.11.0" } solana-perf = { path = "../perf", version = "=1.11.0" } diff --git a/programs/bpf_loader/Cargo.toml b/programs/bpf_loader/Cargo.toml index e4f142110c1eb1..f309137d1e30be 100644 --- a/programs/bpf_loader/Cargo.toml +++ b/programs/bpf_loader/Cargo.toml @@ -23,7 +23,7 @@ solana_rbpf = "=0.2.28" thiserror = "1.0" [dev-dependencies] -rand = "0.7.3" +rand = "0.8.5" solana-runtime = { path = "../../runtime", version = "=1.11.0" } [lib] diff --git a/programs/ed25519-tests/Cargo.toml b/programs/ed25519-tests/Cargo.toml index 1cf79567ad324d..7daf71f743b582 100644 --- a/programs/ed25519-tests/Cargo.toml +++ b/programs/ed25519-tests/Cargo.toml @@ -11,7 +11,7 @@ publish = false [dev-dependencies] assert_matches = "1.5.0" ed25519-dalek = "=1.0.1" -rand = "0.7.0" +rand = "0.8.5" solana-program-test = { path = "../../program-test", version = "=1.11.0" } solana-sdk = { path = "../../sdk", version = "=1.11.0" } diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 5b835184a00dac..bbacfb4bce90f8 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -32,7 +32,7 @@ num-derive = { version = "0.3" } num-traits = { version = "0.2" } num_cpus = "1.13.1" ouroboros = "0.15.0" -rand = "0.7.0" +rand = "0.8.5" rayon = "1.5.2" regex = "1.5.4" serde = { version = "1.0.137", features = ["rc"] } diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index 57d7f8184fd3ab..569aab84311416 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -62,7 +62,7 @@ num-derive = "0.3" num-traits = "0.2" pbkdf2 = { version = "0.11.0", default-features = false } qstring = "0.7.2" -rand = { version = "0.7.0", optional = true } +rand = { version = "0.8.5", optional = true } rand_chacha = { version = "0.2.2", optional = true } rustversion = "1.0.6" serde = "1.0.137" diff --git a/streamer/Cargo.toml b/streamer/Cargo.toml index 69ec4e787bc28d..b72719d966e8b5 100644 --- a/streamer/Cargo.toml +++ b/streamer/Cargo.toml @@ -20,7 +20,7 @@ nix = "0.24.0" pem = "1.0.2" pkcs8 = { version = "0.8.0", features = ["alloc"] } quinn = "0.8.2" -rand = "0.7.0" +rand = "0.8.5" rcgen = "0.9.2" rustls = { version = "0.20.4", features = ["dangerous_configuration"] } solana-metrics = { path = "../metrics", version = "=1.11.0" } diff --git a/transaction-dos/Cargo.toml b/transaction-dos/Cargo.toml index 6c563491732138..0e031e323ba961 100644 --- a/transaction-dos/Cargo.toml +++ b/transaction-dos/Cargo.toml @@ -12,7 +12,7 @@ publish = false bincode = "1.3.3" clap = "2.33.1" log = "0.4.14" -rand = "0.7.0" +rand = "0.8.5" rayon = "1.5.2" solana-clap-utils = { path = "../clap-utils", version = "=1.11.0" } solana-cli = { path = "../cli", version = "=1.11.0" } diff --git a/validator/Cargo.toml b/validator/Cargo.toml index e6f35b757d8e31..00132064d2fd7c 100644 --- a/validator/Cargo.toml +++ b/validator/Cargo.toml @@ -25,7 +25,7 @@ jsonrpc-ipc-server = "18.0.0" jsonrpc-server-utils = "18.0.0" log = "0.4.14" num_cpus = "1.13.1" -rand = "0.7.0" +rand = "0.8.5" serde = "1.0.137" serde_json = "1.0.80" solana-clap-utils = { path = "../clap-utils", version = "=1.11.0" } diff --git a/zk-token-sdk/Cargo.toml b/zk-token-sdk/Cargo.toml index 06a83b318de20e..b3075513e82a0e 100644 --- a/zk-token-sdk/Cargo.toml +++ b/zk-token-sdk/Cargo.toml @@ -24,7 +24,7 @@ curve25519-dalek = { version = "3.2.1", features = ["serde"] } getrandom = { version = "0.1", features = ["dummy"] } lazy_static = "1.4.0" merlin = "3" -rand = "0.7" +rand = "0.8" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" sha3 = "0.9"