From 4019a1682d6d1c757abf8dc67e89d235de031bb0 Mon Sep 17 00:00:00 2001 From: Tom Kaitchuck Date: Thu, 10 Nov 2022 14:46:36 -0800 Subject: [PATCH] Reverting https://github.com/tkaitchuck/aHash/pull/129 (#145) Signed-off-by: Tom Kaitchuck --- Cargo.toml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2f6007f..dce35f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -79,14 +79,7 @@ const-random = { version = "0.1.12", optional = true } serde = { version = "1.0.117", optional = true } cfg-if = "1.0" atomic-polyfill = { version="1.0.1", optional=true} - -[target."cfg(not(any(target_arch = \"wasm32\", target_abi = \"unknown\")))".dependencies.getrandom] -version = "0.2.7" -optional = true - -[target."cfg(any(target_arch = \"wasm32\", target_abi = \"unknown\"))".dependencies.getrandom] -version = "0.2.7" -features = ["js"] +getrandom = { version = "0.2.7", optional = true } [target.'cfg(not(all(target_arch = "arm", target_os = "none")))'.dependencies] once_cell = { version = "1.13.1", default-features = false, features = ["unstable", "alloc"] }