downgrade back to rand 0.8 from alpha

This commit is contained in:
griffi-gh 2024-04-25 18:28:14 +02:00
parent b8c7dcc196
commit 8c4ef7f83f
2 changed files with 14 additions and 65 deletions

77
Cargo.lock generated
View file

@ -43,7 +43,7 @@ dependencies = [
"getrandom", "getrandom",
"once_cell", "once_cell",
"version_check", "version_check",
"zerocopy 0.7.32", "zerocopy",
] ]
[[package]] [[package]]
@ -245,7 +245,7 @@ dependencies = [
"getrandom", "getrandom",
"js-sys", "js-sys",
"lazy_static", "lazy_static",
"rand 0.8.5", "rand",
"rand_xorshift", "rand_xorshift",
"regex", "regex",
"wasm-bindgen", "wasm-bindgen",
@ -1173,7 +1173,7 @@ dependencies = [
"ndk", "ndk",
"nohash-hasher", "nohash-hasher",
"postcard", "postcard",
"rand 0.9.0-alpha.1", "rand",
"raw-window-handle 0.5.2", "raw-window-handle 0.5.2",
"rayon", "rayon",
"serde_json", "serde_json",
@ -1213,7 +1213,7 @@ dependencies = [
"lz4_flex", "lz4_flex",
"nohash-hasher", "nohash-hasher",
"postcard", "postcard",
"rand 0.8.5", "rand",
"rayon", "rayon",
"serde", "serde",
"shipyard", "shipyard",
@ -1234,7 +1234,7 @@ dependencies = [
"num_enum", "num_enum",
"nz", "nz",
"postcard", "postcard",
"rand 0.8.5", "rand",
"rand_xoshiro", "rand_xoshiro",
"serde", "serde",
"serde_with", "serde_with",
@ -1646,19 +1646,8 @@ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [ dependencies = [
"libc", "libc",
"packed_simd_2", "packed_simd_2",
"rand_chacha 0.3.1", "rand_chacha",
"rand_core 0.6.4", "rand_core",
]
[[package]]
name = "rand"
version = "0.9.0-alpha.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d31e63ea85be51c423e52ba8f2e68a3efd53eed30203ee029dd09947333693e"
dependencies = [
"rand_chacha 0.9.0-alpha.1",
"rand_core 0.9.0-alpha.1",
"zerocopy 0.8.0-alpha.6",
] ]
[[package]] [[package]]
@ -1668,17 +1657,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [ dependencies = [
"ppv-lite86", "ppv-lite86",
"rand_core 0.6.4", "rand_core",
]
[[package]]
name = "rand_chacha"
version = "0.9.0-alpha.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78674ef918c19451dbd250f8201f8619b494f64c9aa6f3adb28fd8a0f1f6da46"
dependencies = [
"ppv-lite86",
"rand_core 0.9.0-alpha.1",
] ]
[[package]] [[package]]
@ -1690,23 +1669,13 @@ dependencies = [
"getrandom", "getrandom",
] ]
[[package]]
name = "rand_core"
version = "0.9.0-alpha.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc89dffba8377c5ec847d12bb41492bda235dba31a25e8b695cd0fe6589eb8c9"
dependencies = [
"getrandom",
"zerocopy 0.8.0-alpha.6",
]
[[package]] [[package]]
name = "rand_xorshift" name = "rand_xorshift"
version = "0.3.0" version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f"
dependencies = [ dependencies = [
"rand_core 0.6.4", "rand_core",
] ]
[[package]] [[package]]
@ -1715,7 +1684,7 @@ version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa"
dependencies = [ dependencies = [
"rand_core 0.6.4", "rand_core",
] ]
[[package]] [[package]]
@ -2222,7 +2191,7 @@ version = "0.4.15"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2417e47ddd3809ad40222777ac754ee881b3a6401e38cbeeeb3ee1ca5f30aa0" checksum = "e2417e47ddd3809ad40222777ac754ee881b3a6401e38cbeeeb3ee1ca5f30aa0"
dependencies = [ dependencies = [
"rand 0.8.5", "rand",
] ]
[[package]] [[package]]
@ -2298,7 +2267,7 @@ version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3be4d71c1c106a57b0333ac2c28bd4521e0b16a2b98fe84405cdf7f544be46b6" checksum = "3be4d71c1c106a57b0333ac2c28bd4521e0b16a2b98fe84405cdf7f544be46b6"
dependencies = [ dependencies = [
"rand 0.8.5", "rand",
] ]
[[package]] [[package]]
@ -2916,16 +2885,7 @@ version = "0.7.32"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be"
dependencies = [ dependencies = [
"zerocopy-derive 0.7.32", "zerocopy-derive",
]
[[package]]
name = "zerocopy"
version = "0.8.0-alpha.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db678a6ee512bd06adf35c35be471cae2f9c82a5aed2b5d15e03628c98bddd57"
dependencies = [
"zerocopy-derive 0.8.0-alpha.6",
] ]
[[package]] [[package]]
@ -2938,14 +2898,3 @@ dependencies = [
"quote", "quote",
"syn 2.0.49", "syn 2.0.49",
] ]
[[package]]
name = "zerocopy-derive"
version = "0.8.0-alpha.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "201585ea96d37ee69f2ac769925ca57160cef31acb137c16f38b02b76f4c1e62"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.49",
]

View file

@ -35,7 +35,7 @@ lz4_flex = { version = "0.11", default-features = false, features = ["std"] }
static_assertions = "1.1" static_assertions = "1.1"
tinyset = "0.4" tinyset = "0.4"
serde_json = { version = "1.0", optional = true } #only used for `generate_visualizer_data` serde_json = { version = "1.0", optional = true } #only used for `generate_visualizer_data`
rand = { version = "0.9.0-alpha.0", features = ["alloc", "small_rng"]} rand = { version = "0.8", features = ["alloc", "small_rng"]}
[target.'cfg(target_os = "android")'.dependencies] [target.'cfg(target_os = "android")'.dependencies]
android-activity = "^0.5.2" android-activity = "^0.5.2"