From 92b4ef16a1f38dd59a77e55eb1346286accf9aa9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 16 Feb 2022 17:19:20 +0000 Subject: [PATCH] Bump rand from 0.7.3 to 0.8.5 Bumps [rand](https://github.com/rust-random/rand) from 0.7.3 to 0.8.5. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/0.7.3...0.8.5) --- updated-dependencies: - dependency-name: rand dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 126 ++++++++++-------- client/diem-dev/Cargo.toml | 2 +- client/json-rpc/Cargo.toml | 2 +- client/swiss-knife/Cargo.toml | 2 +- common/temppath/Cargo.toml | 2 +- config/Cargo.toml | 2 +- config/generate-key/Cargo.toml | 2 +- config/management/genesis/Cargo.toml | 2 +- .../network-address-encryption/Cargo.toml | 2 +- config/seed-peer-generator/Cargo.toml | 2 +- consensus/Cargo.toml | 2 +- consensus/safety-rules/Cargo.toml | 2 +- crypto/crypto/Cargo.toml | 2 +- execution/execution-correctness/Cargo.toml | 2 +- execution/executor-benchmark/Cargo.toml | 2 +- execution/executor-test-helpers/Cargo.toml | 2 +- execution/executor/Cargo.toml | 2 +- json-rpc/Cargo.toml | 4 +- language/move-core/types/Cargo.toml | 2 +- language/move-prover/Cargo.toml | 2 +- language/testing-infra/e2e-tests/Cargo.toml | 2 +- .../module-generation/Cargo.toml | 2 +- .../testing-infra/test-generation/Cargo.toml | 2 +- language/tools/vm-genesis/Cargo.toml | 2 +- mempool/Cargo.toml | 2 +- network/Cargo.toml | 2 +- network/builder/Cargo.toml | 2 +- network/socket-bench-server/Cargo.toml | 2 +- secure/key-manager/Cargo.toml | 2 +- secure/storage/Cargo.toml | 4 +- state-synchronizer/Cargo.toml | 2 +- storage/accumulator/Cargo.toml | 2 +- storage/backup/backup-cli/Cargo.toml | 2 +- storage/diemdb/Cargo.toml | 2 +- storage/jellyfish-merkle/Cargo.toml | 4 +- storage/storage-service/Cargo.toml | 2 +- testsuite/cli/diem-wallet/Cargo.toml | 2 +- testsuite/cluster-test/Cargo.toml | 2 +- testsuite/diem-fuzzer/Cargo.toml | 2 +- testsuite/generate-format/Cargo.toml | 2 +- testsuite/smoke-test/Cargo.toml | 2 +- types/Cargo.toml | 2 +- vm-validator/Cargo.toml | 2 +- 43 files changed, 118 insertions(+), 98 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 56239f59258e..5d763a16454d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -40,7 +40,7 @@ dependencies = [ "diem-workspace-hack", "mirai-annotations", "proptest", - "rand 0.7.3", + "rand 0.8.5", ] [[package]] @@ -272,7 +272,7 @@ dependencies = [ "once_cell", "pin-project 1.0.2", "proptest", - "rand 0.7.3", + "rand 0.8.5", "regex", "reqwest", "serde", @@ -807,7 +807,7 @@ dependencies = [ "network-builder", "num_cpus", "once_cell", - "rand 0.7.3", + "rand 0.8.5", "regex", "reqwest", "rusoto_autoscaling", @@ -940,7 +940,7 @@ dependencies = [ "num-traits", "once_cell", "proptest", - "rand 0.7.3", + "rand 0.8.5", "safety-rules", "schemadb", "serde", @@ -1343,7 +1343,7 @@ dependencies = [ "get_if_addrs", "log", "mirai-annotations", - "rand 0.7.3", + "rand 0.8.5", "serde", "serde_yaml", "thiserror", @@ -1374,7 +1374,7 @@ dependencies = [ "once_cell", "proptest", "proptest-derive", - "rand 0.7.3", + "rand 0.8.5", "rand_core 0.5.1", "ripemd160", "serde", @@ -1414,7 +1414,7 @@ dependencies = [ "diem-workspace-hack", "libc", "move-core-types", - "rand 0.7.3", + "rand 0.8.5", "static_assertions", "transaction-builder", ] @@ -1519,7 +1519,7 @@ dependencies = [ "once_cell", "proptest", "proptest-derive", - "rand 0.7.3", + "rand 0.8.5", "rusty-fork", "safety-rules", "serde_json", @@ -1554,7 +1554,7 @@ dependencies = [ "diemdb", "executor", "generate-key", - "rand 0.7.3", + "rand 0.8.5", "serde", "storage-interface", "structopt 0.3.21", @@ -1606,7 +1606,7 @@ dependencies = [ "num-traits", "proptest", "proptest-derive", - "rand 0.7.3", + "rand 0.8.5", "serde", "thiserror", ] @@ -1645,7 +1645,7 @@ dependencies = [ "network", "once_cell", "proptest", - "rand 0.7.3", + "rand 0.8.5", "reqwest", "scratchpad", "serde", @@ -1672,7 +1672,7 @@ dependencies = [ "diem-workspace-hack", "futures 0.3.8", "hex", - "rand 0.7.3", + "rand 0.8.5", "reqwest", "serde", "serde_json", @@ -1725,7 +1725,7 @@ dependencies = [ "executor-types", "futures 0.3.8", "once_cell", - "rand 0.7.3", + "rand 0.8.5", "serde", "storage-interface", "thiserror", @@ -1812,7 +1812,7 @@ dependencies = [ "network", "once_cell", "proptest", - "rand 0.7.3", + "rand 0.8.5", "rayon", "serde", "serde_json", @@ -1880,7 +1880,7 @@ dependencies = [ "diem-secure-storage", "diem-workspace-hack", "move-core-types", - "rand 0.7.3", + "rand 0.8.5", "serde", "thiserror", ] @@ -2044,7 +2044,7 @@ dependencies = [ "diem-vault-client", "diem-workspace-hack", "enum_dispatch", - "rand 0.7.3", + "rand 0.8.5", "serde", "serde_json", "thiserror", @@ -2118,7 +2118,7 @@ version = "0.1.0" dependencies = [ "diem-workspace-hack", "hex", - "rand 0.7.3", + "rand 0.8.5", ] [[package]] @@ -2185,7 +2185,7 @@ dependencies = [ "once_cell", "proptest", "proptest-derive", - "rand 0.7.3", + "rand 0.8.5", "regex", "serde", "serde_bytes", @@ -2272,7 +2272,7 @@ dependencies = [ "hmac 0.10.1", "mirai-annotations", "pbkdf2", - "rand 0.7.3", + "rand 0.8.5", "serde", "sha2", "thiserror", @@ -2354,7 +2354,7 @@ dependencies = [ "once_cell", "proptest", "proptest-derive", - "rand 0.7.3", + "rand 0.8.5", "schemadb", "serde", "storage-interface", @@ -2658,7 +2658,7 @@ dependencies = [ "executor", "executor-test-helpers", "executor-types", - "rand 0.7.3", + "rand 0.8.5", "serde", "storage-client", "thiserror", @@ -2695,7 +2695,7 @@ dependencies = [ "move-core-types", "once_cell", "proptest", - "rand 0.7.3", + "rand 0.8.5", "scratchpad", "serde", "serde_json", @@ -2720,7 +2720,7 @@ dependencies = [ "executor", "executor-types", "itertools 0.9.0", - "rand 0.7.3", + "rand 0.8.5", "rayon", "storage-client", "storage-interface", @@ -2744,7 +2744,7 @@ dependencies = [ "diemdb", "executor", "executor-types", - "rand 0.7.3", + "rand 0.8.5", "storage-interface", "storage-service", "tempfile", @@ -3036,7 +3036,7 @@ dependencies = [ "diem-workspace-hack", "move-core-types", "network", - "rand 0.7.3", + "rand 0.8.5", "serde", "serde-reflection", "serde_yaml", @@ -3051,7 +3051,7 @@ dependencies = [ "diem-crypto", "diem-temppath", "diem-workspace-hack", - "rand 0.7.3", + "rand 0.8.5", ] [[package]] @@ -3766,7 +3766,7 @@ dependencies = [ "once_cell", "proptest", "proptest-derive", - "rand 0.7.3", + "rand 0.8.5", "vm", "vm-genesis", ] @@ -4037,7 +4037,7 @@ dependencies = [ "ir-to-bytecode", "move-core-types", "move-ir-types", - "rand 0.7.3", + "rand 0.8.5", "vm", ] @@ -4086,7 +4086,7 @@ dependencies = [ "once_cell", "proptest", "proptest-derive", - "rand 0.7.3", + "rand 0.8.5", "ref-cast", "regex", "serde", @@ -4233,7 +4233,7 @@ dependencies = [ "num 0.3.1", "once_cell", "pretty", - "rand 0.7.3", + "rand 0.8.5", "regex", "serde", "serde_json", @@ -4443,7 +4443,7 @@ dependencies = [ "pin-project 1.0.2", "proptest", "proptest-derive", - "rand 0.7.3", + "rand 0.8.5", "rand_core 0.5.1", "serde", "serde_bytes", @@ -4476,7 +4476,7 @@ dependencies = [ "netcore", "network", "network-simple-onchain-discovery", - "rand 0.7.3", + "rand 0.8.5", "serde", "subscription-service", "tokio 0.2.22", @@ -5251,7 +5251,7 @@ dependencies = [ "rand_isaac", "rand_jitter", "rand_os", - "rand_pcg 0.1.2", + "rand_pcg", "rand_xorshift 0.1.1", "winapi 0.3.9", ] @@ -5267,7 +5267,17 @@ dependencies = [ "rand_chacha 0.2.2", "rand_core 0.5.1", "rand_hc 0.2.0", - "rand_pcg 0.2.1", +] + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.3", ] [[package]] @@ -5290,6 +5300,16 @@ dependencies = [ "rand_core 0.5.1", ] +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.3", +] + [[package]] name = "rand_core" version = "0.3.1" @@ -5314,6 +5334,15 @@ dependencies = [ "getrandom 0.1.15", ] +[[package]] +name = "rand_core" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" +dependencies = [ + "getrandom 0.2.0", +] + [[package]] name = "rand_hc" version = "0.1.0" @@ -5376,15 +5405,6 @@ dependencies = [ "rand_core 0.4.2", ] -[[package]] -name = "rand_pcg" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" -dependencies = [ - "rand_core 0.5.1", -] - [[package]] name = "rand_xorshift" version = "0.1.1" @@ -5845,7 +5865,7 @@ dependencies = [ "diem-workspace-hack", "once_cell", "proptest", - "rand 0.7.3", + "rand 0.8.5", "rand_core 0.5.1", "serde", "tempfile", @@ -5949,7 +5969,7 @@ dependencies = [ "diem-types", "diem-workspace-hack", "hex", - "rand 0.7.3", + "rand 0.8.5", "serde_yaml", "structopt 0.3.21", "thiserror", @@ -6319,7 +6339,7 @@ dependencies = [ "num 0.3.1", "num-traits", "once_cell", - "rand 0.7.3", + "rand 0.8.5", "regex", "rust_decimal", "rusty-fork", @@ -6343,7 +6363,7 @@ dependencies = [ "netcore", "network", "network-builder", - "rand 0.7.3", + "rand 0.8.5", "tokio 0.2.22", "tokio-util", ] @@ -6434,7 +6454,7 @@ dependencies = [ "network-builder", "once_cell", "proptest", - "rand 0.7.3", + "rand 0.8.5", "serde", "storage-interface", "storage-service", @@ -6589,7 +6609,7 @@ dependencies = [ "futures 0.3.8", "itertools 0.9.0", "proptest", - "rand 0.7.3", + "rand 0.8.5", "storage-client", "storage-interface", "tokio 0.2.22", @@ -6679,7 +6699,7 @@ dependencies = [ "diem-workspace-hack", "hex", "move-core-types", - "rand 0.7.3", + "rand 0.8.5", "serde", "serde_json", "structopt 0.3.21", @@ -6814,7 +6834,7 @@ dependencies = [ "move-vm-runtime", "move-vm-types", "num_cpus", - "rand 0.7.3", + "rand 0.8.5", "structopt 0.3.21", "vm", ] @@ -7431,7 +7451,7 @@ dependencies = [ "once_cell", "proptest", "proptest-derive", - "rand 0.7.3", + "rand 0.8.5", "transaction-builder", "vm", ] @@ -7452,7 +7472,7 @@ dependencies = [ "executor-test-helpers", "fail", "move-core-types", - "rand 0.7.3", + "rand 0.8.5", "scratchpad", "storage-interface", "storage-service", diff --git a/client/diem-dev/Cargo.toml b/client/diem-dev/Cargo.toml index 10b610611857..9094882052da 100644 --- a/client/diem-dev/Cargo.toml +++ b/client/diem-dev/Cargo.toml @@ -21,7 +21,7 @@ move-core-types = { path = "../../language/move-core/types", version = "0.1.0" } transaction-builder = { path = "../../language/transaction-builder", version = "0.1.0" } [dev-dependencies] -rand = "0.7.3" +rand = "0.8.5" [build-dependencies] bindgen = "0.54.0" diff --git a/client/json-rpc/Cargo.toml b/client/json-rpc/Cargo.toml index 855835a4ec45..a7fbb6a897b8 100644 --- a/client/json-rpc/Cargo.toml +++ b/client/json-rpc/Cargo.toml @@ -14,7 +14,7 @@ anyhow = "1.0.36" async-trait = "0.1.42" futures = "0.3.8" hex = "0.4.2" -rand = "0.7.3" +rand = "0.8.5" reqwest = { version = "0.10.10", features = ["blocking", "json"], default_features = false } serde = { version = "1.0.117", default-features = false } serde_json = "1.0.60" diff --git a/client/swiss-knife/Cargo.toml b/client/swiss-knife/Cargo.toml index 5f152f15e39b..0f9455ca6938 100644 --- a/client/swiss-knife/Cargo.toml +++ b/client/swiss-knife/Cargo.toml @@ -11,7 +11,7 @@ edition = "2018" [dependencies] structopt = "0.3.21" -rand = "0.7.3" +rand = "0.8.5" hex = "0.4.2" serde_json = "1.0.60" serde = { version = "1.0.117", features = ["derive"] } diff --git a/common/temppath/Cargo.toml b/common/temppath/Cargo.toml index 05b396b93e3d..754a3cf86eda 100644 --- a/common/temppath/Cargo.toml +++ b/common/temppath/Cargo.toml @@ -12,4 +12,4 @@ edition = "2018" [dependencies] hex = "0.4.2" diem-workspace-hack = { path = "../workspace-hack", version = "0.1.0" } -rand = "0.7.3" +rand = "0.8.5" diff --git a/config/Cargo.toml b/config/Cargo.toml index d18659ea5d97..7cc792275891 100644 --- a/config/Cargo.toml +++ b/config/Cargo.toml @@ -13,7 +13,7 @@ edition = "2018" get_if_addrs = { version = "0.5.3", default-features = false } log = { version = "0.4.11", features = ["serde"] } mirai-annotations = "1.10.1" -rand = "0.7.3" +rand = "0.8.5" serde = { version = "1.0.117", features = ["rc"], default-features = false } serde_yaml = "0.8.14" thiserror = "1.0.22" diff --git a/config/generate-key/Cargo.toml b/config/generate-key/Cargo.toml index 809b7b11f0b4..4807cec24b10 100644 --- a/config/generate-key/Cargo.toml +++ b/config/generate-key/Cargo.toml @@ -10,7 +10,7 @@ publish = false edition = "2018" [dependencies] -rand = "0.7.3" +rand = "0.8.5" bcs = "0.1.2" diem-crypto = { path = "../../crypto/crypto/", version = "0.1.0"} diff --git a/config/management/genesis/Cargo.toml b/config/management/genesis/Cargo.toml index aeb54069555c..63a012b78c22 100644 --- a/config/management/genesis/Cargo.toml +++ b/config/management/genesis/Cargo.toml @@ -11,7 +11,7 @@ edition = "2018" [dependencies] anyhow = "1.0.36" -rand = "0.7.3" +rand = "0.8.5" serde = { version = "1.0.117", features = ["rc"], default-features = false } structopt = "0.3.21" thiserror = "1.0.22" diff --git a/config/management/network-address-encryption/Cargo.toml b/config/management/network-address-encryption/Cargo.toml index 74d3981342ff..64eb741bbb36 100644 --- a/config/management/network-address-encryption/Cargo.toml +++ b/config/management/network-address-encryption/Cargo.toml @@ -24,4 +24,4 @@ diem-workspace-hack = { path = "../../../common/workspace-hack", version = "0.1. move-core-types = { path = "../../../language/move-core/types", version = "0.1.0" } [dev-dependencies] -rand = "0.7.3" +rand = "0.8.5" diff --git a/config/seed-peer-generator/Cargo.toml b/config/seed-peer-generator/Cargo.toml index 82886fe0b1a4..06768997de6d 100644 --- a/config/seed-peer-generator/Cargo.toml +++ b/config/seed-peer-generator/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] anyhow = "1.0.36" hex = "0.4.2" -rand = "0.7.3" +rand = "0.8.5" serde_yaml = "0.8.14" structopt = "0.3.21" thiserror = "1.0.22" diff --git a/consensus/Cargo.toml b/consensus/Cargo.toml index 8e16bb239c1a..81f3103646a4 100644 --- a/consensus/Cargo.toml +++ b/consensus/Cargo.toml @@ -22,7 +22,7 @@ num-derive = { version = "0.3.3", default-features = false } num-traits = { version = "0.2.14", default-features = false } once_cell = "1.4.1" proptest = { version = "0.10.1", optional = true } -rand = { version = "0.7.3", default-features = false } +rand = { version = "0.8.5", default-features = false } serde = { version = "1.0.117", default-features = false } serde_json = "1.0.60" termion = { version = "1.5.5", default-features = false } diff --git a/consensus/safety-rules/Cargo.toml b/consensus/safety-rules/Cargo.toml index ed196e04eb99..8f3376f79a28 100644 --- a/consensus/safety-rules/Cargo.toml +++ b/consensus/safety-rules/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" [dependencies] once_cell = "1.4.1" -rand = { version = "0.7.3", default-features = false } +rand = { version = "0.8.5", default-features = false } proptest = { version = "0.10.1", optional = true } rand_core = "0.5.1" diff --git a/crypto/crypto/Cargo.toml b/crypto/crypto/Cargo.toml index df29d1bde45c..6f05b66eb266 100644 --- a/crypto/crypto/Cargo.toml +++ b/crypto/crypto/Cargo.toml @@ -23,7 +23,7 @@ once_cell = "1.4.1" mirai-annotations = "1.10.1" proptest = { version = "0.10.1", optional = true } proptest-derive = { version = "0.2.0", optional = true } -rand = "0.7.3" +rand = "0.8.5" rand_core = { version = "0.5.1", default-features = false } serde = { version = "1.0.117", features = ["derive"] } serde_bytes = "0.11.5" diff --git a/execution/execution-correctness/Cargo.toml b/execution/execution-correctness/Cargo.toml index fa2617173441..fac8d6745455 100644 --- a/execution/execution-correctness/Cargo.toml +++ b/execution/execution-correctness/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" [dependencies] anyhow = "1.0.36" -rand = { version = "0.7.3", default-features = false } +rand = { version = "0.8.5", default-features = false } consensus-types = { path = "../../consensus/consensus-types", version = "0.1.0", default-features = false } executor = { path = "../executor", version = "0.1.0" } diff --git a/execution/executor-benchmark/Cargo.toml b/execution/executor-benchmark/Cargo.toml index eaf70a497e2d..60fd9886dd2d 100644 --- a/execution/executor-benchmark/Cargo.toml +++ b/execution/executor-benchmark/Cargo.toml @@ -11,7 +11,7 @@ edition = "2018" [dependencies] itertools = { version = "0.9.0", default-features = false } -rand = "0.7.3" +rand = "0.8.5" rayon = "1.5.0" structopt = "0.3.21" diff --git a/execution/executor-test-helpers/Cargo.toml b/execution/executor-test-helpers/Cargo.toml index e787173d7b66..2c2b9280f3bd 100644 --- a/execution/executor-test-helpers/Cargo.toml +++ b/execution/executor-test-helpers/Cargo.toml @@ -11,7 +11,7 @@ edition = "2018" [dependencies] anyhow = "1.0.36" -rand = "0.7.3" +rand = "0.8.5" tempfile = "3.1.0" executor = { path = "../executor", version = "0.1.0" } diff --git a/execution/executor/Cargo.toml b/execution/executor/Cargo.toml index 736e139cd6eb..065f4579e618 100644 --- a/execution/executor/Cargo.toml +++ b/execution/executor/Cargo.toml @@ -38,7 +38,7 @@ proptest = { version = "0.10.1", optional = true } [dev-dependencies] proptest = "0.10.1" -rand = "0.7.3" +rand = "0.8.5" compiled-stdlib = { path = "../../language/stdlib/compiled", version = "0.1.0" } compiler = { path = "../../language/compiler", version = "0.1.0" } diff --git a/json-rpc/Cargo.toml b/json-rpc/Cargo.toml index 919a7f5d6494..175c161b567e 100644 --- a/json-rpc/Cargo.toml +++ b/json-rpc/Cargo.toml @@ -16,7 +16,7 @@ futures = "0.3.8" hex = "0.4.2" hyper = "0.13.9" once_cell = "1.4.1" -rand = "0.7.3" +rand = "0.8.5" serde_json = "1.0.60" serde = { version = "1.0.117", default-features = false } tokio = { version = "0.2.22", features = ["full"] } @@ -44,7 +44,7 @@ storage-interface = { path = "../storage/storage-interface", version = "0.1.0" } [dev-dependencies] proptest = "0.10.1" reqwest = { version = "0.10.10", features = ["blocking", "json"], default_features = false } -rand = { version = "0.7.3" } +rand = { version = "0.8.5" } generate-key = { path = "../config/generate-key", version = "0.1.0" } diemdb = { path = "../storage/diemdb", version = "0.1.0", features = ["fuzzing"] } diff --git a/language/move-core/types/Cargo.toml b/language/move-core/types/Cargo.toml index 2b207dc8a8a6..41602ee5c176 100644 --- a/language/move-core/types/Cargo.toml +++ b/language/move-core/types/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] anyhow = "1.0.36" hex = "0.4.2" -rand = "0.7.3" +rand = "0.8.5" proptest = { version = "0.10.1", default-features = false, optional = true } mirai-annotations = "1.10.1" proptest-derive = { version = "0.2.0", default-features = false, optional = true } diff --git a/language/move-prover/Cargo.toml b/language/move-prover/Cargo.toml index 4e33302d4981..5f9e154fba02 100644 --- a/language/move-prover/Cargo.toml +++ b/language/move-prover/Cargo.toml @@ -34,7 +34,7 @@ itertools = "0.9.0" log = "0.4.11" num = "0.3.0" pretty = "0.10.0" -rand = "0.7.3" +rand = "0.8.5" regex = "1.4.2" serde = { version = "1.0.117", features = ["derive"] } serde_json = "1.0.60" diff --git a/language/testing-infra/e2e-tests/Cargo.toml b/language/testing-infra/e2e-tests/Cargo.toml index bcfc3946b704..863515c99361 100644 --- a/language/testing-infra/e2e-tests/Cargo.toml +++ b/language/testing-infra/e2e-tests/Cargo.toml @@ -16,7 +16,7 @@ bcs = "0.1.2" compiler = { path = "../../compiler", version = "0.1.0" } once_cell = "1.4.1" diem-crypto = { path = "../../../crypto/crypto", version = "0.1.0", features = ["fuzzing"] } -rand = "0.7.3" +rand = "0.8.5" diem-state-view = { path = "../../../storage/state-view", version = "0.1.0" } diem-types = { path = "../../../types", version = "0.1.0", features = ["fuzzing"] } move-core-types = { path = "../../move-core/types", version = "0.1.0" } diff --git a/language/testing-infra/module-generation/Cargo.toml b/language/testing-infra/module-generation/Cargo.toml index 62ecac172751..db02aaaf04fc 100644 --- a/language/testing-infra/module-generation/Cargo.toml +++ b/language/testing-infra/module-generation/Cargo.toml @@ -10,7 +10,7 @@ publish = false edition = "2018" [dependencies] -rand = "0.7.3" +rand = "0.8.5" bytecode-verifier = { path = "../../bytecode-verifier", version = "0.1.0" } ir-to-bytecode = { path = "../../compiler/ir-to-bytecode", version = "0.1.0" } diff --git a/language/testing-infra/test-generation/Cargo.toml b/language/testing-infra/test-generation/Cargo.toml index 723d96e40022..211082e061b5 100644 --- a/language/testing-infra/test-generation/Cargo.toml +++ b/language/testing-infra/test-generation/Cargo.toml @@ -10,7 +10,7 @@ publish = false edition = "2018" [dependencies] -rand = "0.7.3" +rand = "0.8.5" num_cpus = "1.13.0" mirai-annotations = "1.10.1" structopt = "0.3.21" diff --git a/language/tools/vm-genesis/Cargo.toml b/language/tools/vm-genesis/Cargo.toml index 50eff50af14d..f06bee0a2f57 100644 --- a/language/tools/vm-genesis/Cargo.toml +++ b/language/tools/vm-genesis/Cargo.toml @@ -12,7 +12,7 @@ publish = false [dependencies] anyhow = "1.0.36" once_cell = "1.4.1" -rand = "0.7.3" +rand = "0.8.5" bytecode-verifier = { path = "../../bytecode-verifier", version = "0.1.0" } bcs = "0.1.2" diff --git a/mempool/Cargo.toml b/mempool/Cargo.toml index 2693838da700..0d7393e6d690 100644 --- a/mempool/Cargo.toml +++ b/mempool/Cargo.toml @@ -34,7 +34,7 @@ diem-types = { path = "../types", version = "0.1.0" } diem-workspace-hack = { path = "../common/workspace-hack", version = "0.1.0" } mirai-annotations = "1.10.1" network = { path = "../network", version = "0.1.0" } -rand = "0.7.3" +rand = "0.8.5" netcore = { path = "../network/netcore", version = "0.1.0" } serde_json = "1.0.60" storage-interface = { path = "../storage/storage-interface", version = "0.1.0" } diff --git a/network/Cargo.toml b/network/Cargo.toml index 29b6e8894291..92f7b45f33d0 100644 --- a/network/Cargo.toml +++ b/network/Cargo.toml @@ -19,7 +19,7 @@ once_cell = "1.4.1" pin-project = "1.0.2" proptest = { version = "0.10.1", default-features = true, optional = true } proptest-derive = { version = "0.2.0", optional = true } -rand = { version = "0.7.3", features = ["small_rng"] } +rand = { version = "0.8.5", features = ["small_rng"] } rand_core = { version = "0.5.1", optional = true } serde = { version = "1.0.117", default-features = false } serde_bytes = "0.11.5" diff --git a/network/builder/Cargo.toml b/network/builder/Cargo.toml index 295c386fcb07..659c762e78f1 100644 --- a/network/builder/Cargo.toml +++ b/network/builder/Cargo.toml @@ -13,7 +13,7 @@ edition = "2018" [dependencies] futures = "0.3.8" -rand = "0.7.3" +rand = "0.8.5" serde = { version = "1.0.117", default-features = false } tokio = { version = "0.2.22", features = ["full"] } tokio-retry = "0.2.0" diff --git a/network/socket-bench-server/Cargo.toml b/network/socket-bench-server/Cargo.toml index 21e30f8edc60..c92e2560e9c7 100644 --- a/network/socket-bench-server/Cargo.toml +++ b/network/socket-bench-server/Cargo.toml @@ -24,4 +24,4 @@ memsocket = { path = "../../network/memsocket", version = "0.1.0" } netcore = { path = "../../network/netcore", version = "0.1.0", features = ["fuzzing", "testing"] } network = { path = "../../network", version = "0.1.0", features = ["testing", "fuzzing"] } network-builder = { path = "../../network/builder", version = "0.1.0"} -rand = "0.7.3" +rand = "0.8.5" diff --git a/secure/key-manager/Cargo.toml b/secure/key-manager/Cargo.toml index b878f1fab1fb..cdc2ab584010 100644 --- a/secure/key-manager/Cargo.toml +++ b/secure/key-manager/Cargo.toml @@ -31,7 +31,7 @@ transaction-builder-generated = { path = "../../client/transaction-builder", ver [dev-dependencies] anyhow = "1.0.36" futures = "0.3.8" -rand = "0.7.3" +rand = "0.8.5" tokio = { version = "0.2.22", features = ["full"] } executor = { path = "../../execution/executor", version = "0.1.0" } diff --git a/secure/storage/Cargo.toml b/secure/storage/Cargo.toml index ae4993b215b3..2c2d29acbb40 100644 --- a/secure/storage/Cargo.toml +++ b/secure/storage/Cargo.toml @@ -13,7 +13,7 @@ edition = "2018" base64 = "0.13.0" chrono = "0.4.19" enum_dispatch = "0.3.4" -rand = "0.7.3" +rand = "0.8.5" serde = { version = "1.0.117", features = ["rc"], default-features = false } serde_json = "1.0.60" thiserror = "1.0.22" @@ -31,7 +31,7 @@ diem-workspace-hack = { path = "../../common/workspace-hack", version = "0.1.0" [dev-dependencies] diem-crypto = { path = "../../crypto/crypto", version = "0.1.0", features = ["fuzzing"] } diem-crypto-derive = { path = "../../crypto/crypto-derive", version = "0.1.0" } -rand = "0.7.3" +rand = "0.8.5" [features] fuzzing = ["diem-crypto/fuzzing"] diff --git a/state-synchronizer/Cargo.toml b/state-synchronizer/Cargo.toml index 0f7b0b070c2f..d6ebc9cdeab9 100644 --- a/state-synchronizer/Cargo.toml +++ b/state-synchronizer/Cargo.toml @@ -15,7 +15,7 @@ fail = "0.4.0" futures = "0.3.8" serde = { version = "1.0.117", default-features = false } once_cell = "1.4.1" -rand = "0.7.3" +rand = "0.8.5" tokio = { version = "0.2.22", features = ["full"] } itertools = { version = "0.9.0", default-features = false } proptest = { version = "0.10.1", optional = true } diff --git a/storage/accumulator/Cargo.toml b/storage/accumulator/Cargo.toml index 71cda3e3854e..093f68d9ba21 100644 --- a/storage/accumulator/Cargo.toml +++ b/storage/accumulator/Cargo.toml @@ -18,7 +18,7 @@ diem-workspace-hack = { path = "../../common/workspace-hack", version = "0.1.0" proptest = { version = "0.10.1", optional = true } [dev-dependencies] -rand = "0.7.3" +rand = "0.8.5" proptest = "0.10.1" diem-crypto = { path = "../../crypto/crypto", version = "0.1.0", features = ["fuzzing"] } diff --git a/storage/backup/backup-cli/Cargo.toml b/storage/backup/backup-cli/Cargo.toml index 8052425d1c83..a11dbda5479a 100644 --- a/storage/backup/backup-cli/Cargo.toml +++ b/storage/backup/backup-cli/Cargo.toml @@ -19,7 +19,7 @@ itertools = "0.9.0" num_cpus = "1.13.0" once_cell = "1.4.1" pin-project = "1.0.2" -rand = "0.7.3" +rand = "0.8.5" regex = "1.4.2" reqwest = { version = "0.10.10", features = ["stream"], default-features = false } serde = { version = "1.0.117", features = ["derive"] } diff --git a/storage/diemdb/Cargo.toml b/storage/diemdb/Cargo.toml index 80a02792ab7a..8c3a2e699790 100644 --- a/storage/diemdb/Cargo.toml +++ b/storage/diemdb/Cargo.toml @@ -41,7 +41,7 @@ storage-interface = { path = "../storage-interface", version = "0.1.0" } [dev-dependencies] proptest = "0.10.1" proptest-derive = "0.2.0" -rand = "0.7.3" +rand = "0.8.5" diem-jellyfish-merkle = { path = "../jellyfish-merkle", version = "0.1.0", features = ["fuzzing"] } diem-proptest-helpers = { path = "../../common/proptest-helpers", version = "0.1.0" } diff --git a/storage/jellyfish-merkle/Cargo.toml b/storage/jellyfish-merkle/Cargo.toml index 1f0317ec9ca5..0b9e389d3521 100644 --- a/storage/jellyfish-merkle/Cargo.toml +++ b/storage/jellyfish-merkle/Cargo.toml @@ -17,7 +17,7 @@ num-derive = "0.3.3" num-traits = "0.2.14" proptest = { version = "0.10.1", optional = true } proptest-derive = { version = "0.2.0", optional = true } -rand = {version = "0.7.3", optional = true } +rand = {version = "0.8.5", optional = true } serde = { version = "1.0.117", features = ["derive"] } thiserror = "1.0.22" @@ -30,7 +30,7 @@ diem-types = { path = "../../types", version = "0.1.0" } diem-workspace-hack = { path = "../../common/workspace-hack", version = "0.1.0" } [dev-dependencies] -rand = "0.7.3" +rand = "0.8.5" proptest = "0.10.1" proptest-derive = "0.2.0" diff --git a/storage/storage-service/Cargo.toml b/storage/storage-service/Cargo.toml index 44abd0346a5f..5f56e72e77da 100644 --- a/storage/storage-service/Cargo.toml +++ b/storage/storage-service/Cargo.toml @@ -24,7 +24,7 @@ diem-secure-net = { path = "../../secure/net", version = "0.1.0" } storage-interface = { path = "../storage-interface", version = "0.1.0" } diem-types = { path = "../../types", version = "0.1.0" } diem-workspace-hack = { path = "../../common/workspace-hack", version = "0.1.0" } -rand = { version = "0.7.3", optional = true } +rand = { version = "0.8.5", optional = true } storage-client = { path = "../storage-client", version = "0.1.0", optional = true } proptest = { version = "0.10.1", optional = true } diff --git a/testsuite/cli/diem-wallet/Cargo.toml b/testsuite/cli/diem-wallet/Cargo.toml index 4a4908e51e4c..2dcfd2aab112 100644 --- a/testsuite/cli/diem-wallet/Cargo.toml +++ b/testsuite/cli/diem-wallet/Cargo.toml @@ -11,7 +11,7 @@ edition = "2018" [dependencies] anyhow = "1.0.36" -rand = "0.7.3" +rand = "0.8.5" hex = "0.4.2" hmac = "0.10.1" byteorder = "1.3.4" diff --git a/testsuite/cluster-test/Cargo.toml b/testsuite/cluster-test/Cargo.toml index 137448b6f0e1..436512b0268f 100644 --- a/testsuite/cluster-test/Cargo.toml +++ b/testsuite/cluster-test/Cargo.toml @@ -15,7 +15,7 @@ flate2 = { version = "1.0.19", features = ["rust_backend"], default-features = f hex = "0.4.2" itertools = "0.9.0" once_cell = "1.4.1" -rand = "0.7.3" +rand = "0.8.5" regex = { version = "1.4.2", default-features = false, features = ["std", "perf"] } reqwest = { version = "0.10.10", features = ["blocking", "json"] } serde_json = "1.0.60" diff --git a/testsuite/diem-fuzzer/Cargo.toml b/testsuite/diem-fuzzer/Cargo.toml index 649ca92559a9..bd983a72d672 100644 --- a/testsuite/diem-fuzzer/Cargo.toml +++ b/testsuite/diem-fuzzer/Cargo.toml @@ -20,7 +20,7 @@ rusty-fork = { version = "0.3.0", default-features = false } serde_json = "1.0.60" sha-1 = { version = "0.9.2", default-features = false } structopt = "0.3.21" -rand = "0.7.3" +rand = "0.8.5" ureq = { version = "1.5.4", features = ["json", "native-tls"], default-features = false } bcs = "0.1.2" diff --git a/testsuite/generate-format/Cargo.toml b/testsuite/generate-format/Cargo.toml index dee932e65a55..fef89c45bff5 100644 --- a/testsuite/generate-format/Cargo.toml +++ b/testsuite/generate-format/Cargo.toml @@ -10,7 +10,7 @@ publish = false edition = "2018" [dependencies] -rand = "0.7.3" +rand = "0.8.5" serde = { version = "1.0.117", features = ["derive"] } serde-reflection = "0.3.2" serde_yaml = "0.8.14" diff --git a/testsuite/smoke-test/Cargo.toml b/testsuite/smoke-test/Cargo.toml index 2124a605e1dc..a6166f11fde2 100644 --- a/testsuite/smoke-test/Cargo.toml +++ b/testsuite/smoke-test/Cargo.toml @@ -15,7 +15,7 @@ hex = "0.4.2" once_cell = "1.4.1" num = "0.3.0" num-traits = "0.2.14" -rand = "0.7.3" +rand = "0.8.5" regex = "1.4.2" rust_decimal = "1.8.1" rusty-fork = "0.3.0" diff --git a/types/Cargo.toml b/types/Cargo.toml index a57729c27d59..da747b64dd08 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -19,7 +19,7 @@ once_cell = "1.4.1" mirai-annotations = "1.10.1" proptest = { version = "0.10.1", default-features = false, optional = true } proptest-derive = { version = "0.2.0", default-features = false, optional = true } -rand = "0.7.3" +rand = "0.8.5" serde = { version = "1.0.117", default-features = false } serde_json = "1.0.60" serde_bytes = "0.11.5" diff --git a/vm-validator/Cargo.toml b/vm-validator/Cargo.toml index eea90c4a1a04..ed27193dfb41 100644 --- a/vm-validator/Cargo.toml +++ b/vm-validator/Cargo.toml @@ -20,7 +20,7 @@ diem-vm = { path = "../language/diem-vm", version = "0.1.0" } diem-workspace-hack = { path = "../common/workspace-hack", version = "0.1.0" } [dev-dependencies] -rand = "0.7.3" +rand = "0.8.5" executor = { path = "../execution/executor", version = "0.1.0" } executor-test-helpers = { path = "../execution/executor-test-helpers", version = "0.1.0" }