diff --git a/Cargo.lock b/Cargo.lock index 1261917c6..3dee60bd1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -873,6 +873,17 @@ dependencies = [ "version_check", ] +[[package]] +name = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + [[package]] name = "getrandom" version = "0.2.2" @@ -881,7 +892,7 @@ checksum = "c9495705279e7140bf035dde1f6e750c162df8b625267cd52cc44e0b156732c8" dependencies = [ "cfg-if 1.0.0", "libc", - "wasi", + "wasi 0.10.2+wasi-snapshot-preview1", ] [[package]] @@ -1460,7 +1471,7 @@ dependencies = [ "modals", "num-derive", "num-traits", - "rand 0.8.4", + "rand 0.7.3", "rand_chacha 0.3.1", "rand_core 0.5.1", "rkyv", @@ -1582,6 +1593,8 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ + "getrandom 0.1.16", + "libc", "rand_chacha 0.2.2", "rand_core 0.5.1", "rand_hc 0.2.0", @@ -1625,6 +1638,9 @@ name = "rand_core" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom 0.1.16", +] [[package]] name = "rand_core" @@ -1632,7 +1648,7 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" dependencies = [ - "getrandom", + "getrandom 0.2.2", ] [[package]] @@ -2117,7 +2133,7 @@ dependencies = [ "log-server", "num-derive", "num-traits", - "rand 0.8.4", + "rand 0.7.3", "rkyv", "susres", "ticktimer-server", @@ -2388,7 +2404,7 @@ dependencies = [ "log-server", "num-derive", "num-traits", - "rand 0.8.4", + "rand 0.7.3", "rand_chacha 0.3.1", "rand_core 0.5.1", "rkyv", @@ -2486,6 +2502,12 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" +[[package]] +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" + [[package]] name = "wasi" version = "0.10.2+wasi-snapshot-preview1" diff --git a/kernel/Cargo.lock b/kernel/Cargo.lock index c89f3da80..013dba3fc 100644 --- a/kernel/Cargo.lock +++ b/kernel/Cargo.lock @@ -188,9 +188,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.3" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ "cfg-if 1.0.0", "libc", @@ -229,7 +229,7 @@ dependencies = [ "gdbstub_arch", "hex", "lazy_static", - "rand 0.8.4", + "rand", "rand_chacha 0.3.1", "riscv", "stats_alloc", @@ -343,24 +343,14 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ + "getrandom", + "libc", "rand_chacha 0.2.2", "rand_core 0.5.1", - "rand_hc 0.2.0", + "rand_hc", "rand_pcg", ] -[[package]] -name = "rand" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.3", - "rand_hc 0.3.1", -] - [[package]] name = "rand_chacha" version = "0.2.2" @@ -386,15 +376,15 @@ name = "rand_core" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom", +] [[package]] name = "rand_core" version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" -dependencies = [ - "getrandom", -] [[package]] name = "rand_hc" @@ -405,15 +395,6 @@ dependencies = [ "rand_core 0.5.1", ] -[[package]] -name = "rand_hc" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" -dependencies = [ - "rand_core 0.6.3", -] - [[package]] name = "rand_pcg" version = "0.2.1" @@ -530,9 +511,9 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "wasi" -version = "0.10.2+wasi-snapshot-preview1" +version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" [[package]] name = "which" @@ -583,6 +564,6 @@ version = "0.1.0" dependencies = [ "proc-macro2", "quote", - "rand 0.7.3", + "rand", "syn", ] diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index 97f6c413c..f9d1ad98c 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -42,7 +42,7 @@ crossbeam-channel = "0.5" debug-here = "0.2.2" hex = "0.4" lazy_static = "1.4" -rand = "0.8.4" +rand = "0.7.3" rand_chacha = "0.3.1" [profile.release] diff --git a/services/pddb/Cargo.toml b/services/pddb/Cargo.toml index 88230d755..d70c4f9a8 100644 --- a/services/pddb/Cargo.toml +++ b/services/pddb/Cargo.toml @@ -43,7 +43,7 @@ modals = {path="../modals"} utralib = { path = "../../utralib"} [target.'cfg(any(windows,unix))'.dependencies] -rand = "0.8.4" +rand = "0.7.3" rand_chacha = "0.3.1" [features] diff --git a/services/spinor/Cargo.toml b/services/spinor/Cargo.toml index 6cc84330b..31ecfc51e 100644 --- a/services/spinor/Cargo.toml +++ b/services/spinor/Cargo.toml @@ -26,7 +26,7 @@ utralib = { path = "../../utralib"} [dev-dependencies] lazy_static = "1.4.0" -rand = "0.8" +rand = "0.7.3" [features] default = [] diff --git a/services/trng/Cargo.toml b/services/trng/Cargo.toml index 686677ef9..008f18ddb 100644 --- a/services/trng/Cargo.toml +++ b/services/trng/Cargo.toml @@ -22,7 +22,7 @@ rand_core = "0.5" utralib = { path = "../../utralib"} [target.'cfg(any(windows,unix))'.dependencies] -rand = "0.8.4" +rand = "0.7.3" rand_chacha = "0.3.1" [features]