@@ -27,12 +27,10 @@ libc = { version = "0.2.64", default-features = false }
2727[target .'cfg(target_os = "wasi")' .dependencies ]
2828wasi = " 0.10"
2929
30- [target .'cfg(all(target_arch = "wasm32", target_os = "unknown", cargo_web))' .dependencies ]
31- stdweb = { version = " 0.4.18" , default-features = false , optional = true }
32- [target .'cfg(all(target_arch = "wasm32", target_os = "unknown", not(cargo_web)))' .dependencies ]
30+ [target .'cfg(all(target_arch = "wasm32", target_os = "unknown"))' .dependencies ]
3331wasm-bindgen = { version = " 0.2.62" , default-features = false , optional = true }
3432js-sys = { version = " 0.3" , optional = true }
35- [target .'cfg(all(target_arch = "wasm32", target_os = "unknown", not(cargo_web) ))' .dev-dependencies ]
33+ [target .'cfg(all(target_arch = "wasm32", target_os = "unknown"))' .dev-dependencies ]
3634wasm-bindgen-test = " 0.3.18"
3735
3836[features ]
@@ -41,7 +39,7 @@ std = []
4139# Feature to enable fallback RDRAND-based implementation on x86/x86_64
4240rdrand = []
4341# Feature to enable JavaScript bindings on wasm32-unknown-unknown
44- js = [" stdweb " , " wasm-bindgen" , " js-sys" ]
42+ js = [" wasm-bindgen" , " js-sys" ]
4543# Feature to enable custom RNG implementations
4644custom = []
4745# Unstable feature to support being a libstd dependency
0 commit comments