From 266c13d30e5c13aac2e43a2574d68d4abea413d8 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 25 Apr 2024 18:28:14 +0200 Subject: [PATCH] downgrade back to rand 0.8 from alpha --- Cargo.lock | 77 +++++++++---------------------------------------- kubi/Cargo.toml | 2 +- 2 files changed, 14 insertions(+), 65 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e3e8d7..a06b820 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -43,7 +43,7 @@ dependencies = [ "getrandom", "once_cell", "version_check", - "zerocopy 0.7.32", + "zerocopy", ] [[package]] @@ -245,7 +245,7 @@ dependencies = [ "getrandom", "js-sys", "lazy_static", - "rand 0.8.5", + "rand", "rand_xorshift", "regex", "wasm-bindgen", @@ -1173,7 +1173,7 @@ dependencies = [ "ndk", "nohash-hasher", "postcard", - "rand 0.9.0-alpha.1", + "rand", "raw-window-handle 0.5.2", "rayon", "serde_json", @@ -1213,7 +1213,7 @@ dependencies = [ "lz4_flex", "nohash-hasher", "postcard", - "rand 0.8.5", + "rand", "rayon", "serde", "shipyard", @@ -1234,7 +1234,7 @@ dependencies = [ "num_enum", "nz", "postcard", - "rand 0.8.5", + "rand", "rand_xoshiro", "serde", "serde_with", @@ -1646,19 +1646,8 @@ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", "packed_simd_2", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - -[[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", + "rand_chacha", + "rand_core", ] [[package]] @@ -1668,17 +1657,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core 0.6.4", -] - -[[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", + "rand_core", ] [[package]] @@ -1690,23 +1669,13 @@ dependencies = [ "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]] name = "rand_xorshift" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" dependencies = [ - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -1715,7 +1684,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" dependencies = [ - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -2222,7 +2191,7 @@ version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2417e47ddd3809ad40222777ac754ee881b3a6401e38cbeeeb3ee1ca5f30aa0" dependencies = [ - "rand 0.8.5", + "rand", ] [[package]] @@ -2298,7 +2267,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be4d71c1c106a57b0333ac2c28bd4521e0b16a2b98fe84405cdf7f544be46b6" dependencies = [ - "rand 0.8.5", + "rand", ] [[package]] @@ -2916,16 +2885,7 @@ version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" dependencies = [ - "zerocopy-derive 0.7.32", -] - -[[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", + "zerocopy-derive", ] [[package]] @@ -2938,14 +2898,3 @@ dependencies = [ "quote", "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", -] diff --git a/kubi/Cargo.toml b/kubi/Cargo.toml index 0681099..c3f0c8c 100644 --- a/kubi/Cargo.toml +++ b/kubi/Cargo.toml @@ -35,7 +35,7 @@ lz4_flex = { version = "0.11", default-features = false, features = ["std"] } static_assertions = "1.1" tinyset = "0.4" 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] android-activity = "^0.5.2"