diff --git a/Cargo.lock b/Cargo.lock index 28d73b79d5..0a9ede85b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -931,6 +931,17 @@ dependencies = [ "wasi 0.9.0+wasi-snapshot-preview1", ] +[[package]] +name = "getrandom" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee8025cf36f917e6a52cce185b7c7177689b838b7ec138364e50cc2277a56cf4" +dependencies = [ + "cfg-if 0.1.10", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + [[package]] name = "gimli" version = "0.23.0" @@ -1279,7 +1290,7 @@ dependencies = [ "leo-type-inference", "num-bigint", "pest", - "rand", + "rand 0.8.0", "rand_xorshift", "serde", "sha2", @@ -1301,7 +1312,7 @@ version = "1.0.7" dependencies = [ "leo-ast", "leo-gadgets", - "rand", + "rand 0.8.0", "rand_xorshift", "snarkvm-curves", "snarkvm-errors", @@ -1316,7 +1327,7 @@ name = "leo-gadgets" version = "1.0.7" dependencies = [ "criterion", - "rand", + "rand 0.8.0", "rand_xorshift", "snarkvm-errors", "snarkvm-models", @@ -1382,7 +1393,7 @@ dependencies = [ "leo-state", "notify", "num-bigint", - "rand", + "rand 0.8.0", "rand_core 0.6.0", "reqwest", "rusty-hook", @@ -1426,7 +1437,7 @@ dependencies = [ "indexmap", "leo-ast", "leo-input", - "rand", + "rand 0.8.0", "rand_xorshift", "snarkvm-algorithms", "snarkvm-curves", @@ -2061,11 +2072,23 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ - "getrandom", + "getrandom 0.1.15", "libc", - "rand_chacha", + "rand_chacha 0.2.2", "rand_core 0.5.1", - "rand_hc", + "rand_hc 0.2.0", +] + +[[package]] +name = "rand" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a76330fb486679b4ace3670f117bbc9e16204005c4bde9c4bd372f45bed34f12" +dependencies = [ + "libc", + "rand_chacha 0.3.0", + "rand_core 0.6.0", + "rand_hc 0.3.0", ] [[package]] @@ -2078,13 +2101,23 @@ dependencies = [ "rand_core 0.5.1", ] +[[package]] +name = "rand_chacha" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.0", +] + [[package]] name = "rand_core" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" dependencies = [ - "getrandom", + "getrandom 0.1.15", ] [[package]] @@ -2092,6 +2125,9 @@ name = "rand_core" version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8b34ba8cfb21243bd8df91854c830ff0d785fff2e82ebd4434c2644cb9ada18" +dependencies = [ + "getrandom 0.2.0", +] [[package]] name = "rand_hc" @@ -2102,6 +2138,15 @@ dependencies = [ "rand_core 0.5.1", ] +[[package]] +name = "rand_hc" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73" +dependencies = [ + "rand_core 0.6.0", +] + [[package]] name = "rand_xorshift" version = "0.2.0" @@ -2148,7 +2193,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d" dependencies = [ - "getrandom", + "getrandom 0.1.15", "redox_syscall", "rust-argon2", ] @@ -2522,8 +2567,8 @@ dependencies = [ "derivative", "digest 0.8.1", "itertools 0.9.0", - "rand", - "rand_chacha", + "rand 0.7.3", + "rand_chacha 0.2.2", "rayon", "sha2", "smallvec", @@ -2539,7 +2584,7 @@ version = "0.0.1" source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" dependencies = [ "derivative", - "rand", + "rand 0.7.3", "rand_xorshift", "rustc_version", "serde", @@ -2568,7 +2613,7 @@ dependencies = [ "derivative", "hex", "itertools 0.9.0", - "rand", + "rand 0.7.3", "snarkvm-algorithms", "snarkvm-curves", "snarkvm-errors", @@ -2623,7 +2668,7 @@ dependencies = [ "fxhash", "indexmap", "itertools 0.9.0", - "rand", + "rand 0.7.3", "rand_xorshift", "serde", "snarkvm-errors", @@ -2641,7 +2686,7 @@ dependencies = [ "derivative", "hex", "once_cell", - "rand", + "rand 0.7.3", "serde", "sha2", "snarkvm-algorithms", @@ -2678,7 +2723,7 @@ dependencies = [ "bincode", "hex", "parking_lot", - "rand", + "rand 0.7.3", "rocksdb", "serde", "snarkvm-algorithms", @@ -2696,7 +2741,7 @@ version = "0.0.1" source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" dependencies = [ "bincode", - "rand", + "rand 0.7.3", "snarkvm-derives", "snarkvm-errors", ] @@ -2766,7 +2811,7 @@ checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" dependencies = [ "cfg-if 0.1.10", "libc", - "rand", + "rand 0.7.3", "redox_syscall", "remove_dir_all", "winapi 0.3.9", diff --git a/Cargo.toml b/Cargo.toml index 7a3cdabf6b..f36c804ec2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -128,7 +128,7 @@ version = "4.0.15" version = "0.3" [dependencies.rand] -version = "0.7" +version = "0.8" [dependencies.rand_core] version = "0.6.0" diff --git a/compiler/Cargo.toml b/compiler/Cargo.toml index a6b7482221..8e44e4d5bb 100644 --- a/compiler/Cargo.toml +++ b/compiler/Cargo.toml @@ -112,7 +112,7 @@ features = [ "serde-1" ] version = "2.0" [dependencies.rand] -version = "0.7" +version = "0.8" [dependencies.rand_xorshift] version = "0.2" diff --git a/core/Cargo.toml b/core/Cargo.toml index dbe7cafc10..d6b105cfc6 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -49,7 +49,7 @@ rev = "f99f13d" version = "0.0.1" [dependencies.rand] -version = "0.7" +version = "0.8" default-features = false [dependencies.rand_xorshift] diff --git a/gadgets/Cargo.toml b/gadgets/Cargo.toml index e9f998509d..c07de4bcc7 100644 --- a/gadgets/Cargo.toml +++ b/gadgets/Cargo.toml @@ -35,7 +35,7 @@ rev = "f99f13d" version = "0.0.1" [dependencies.rand] -version = "0.7" +version = "0.8" default-features = false [dependencies.rand_xorshift] diff --git a/state/Cargo.toml b/state/Cargo.toml index 7639bac710..17757951e2 100644 --- a/state/Cargo.toml +++ b/state/Cargo.toml @@ -71,7 +71,7 @@ version = "1.6.1" features = [ "serde-1" ] [dependencies.rand] -version = "0.7" +version = "0.8" [dependencies.rand_xorshift] version = "0.2"