]>
Commit | Line | Data |
---|---|---|
6528a858 SS |
1 | --- getrandom-0.2.4/Cargo.toml.orig 2022-01-27 18:43:09.339254197 +0000 |
2 | +++ getrandom-0.2.4/Cargo.toml 2022-01-27 18:44:42.583701271 +0000 | |
3 | @@ -20,33 +20,13 @@ | |
4 | [target.'cfg(unix)'.dependencies] | |
5 | libc = { version = "0.2.64", default-features = false } | |
6 | ||
7 | -[target.'cfg(target_os = "wasi")'.dependencies] | |
8 | -wasi = "0.10" | |
9 | - | |
10 | -[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies] | |
11 | -wasm-bindgen = { version = "0.2.62", default-features = false, optional = true } | |
12 | -js-sys = { version = "0.3", optional = true } | |
13 | -[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies] | |
14 | -wasm-bindgen-test = "0.3.18" | |
15 | - | |
16 | [features] | |
17 | # Implement std-only traits for getrandom::Error | |
18 | std = [] | |
19 | # Feature to enable fallback RDRAND-based implementation on x86/x86_64 | |
20 | rdrand = [] | |
21 | -# Feature to enable JavaScript bindings on wasm32-unknown-unknown | |
22 | -js = ["wasm-bindgen", "js-sys"] | |
23 | # Feature to enable custom RNG implementations | |
24 | custom = [] | |
25 | -# Unstable feature to support being a libstd dependency | |
26 | -rustc-dep-of-std = [ | |
27 | - "compiler_builtins", | |
28 | - "core", | |
29 | - "libc/rustc-dep-of-std", | |
30 | - "wasi/rustc-dep-of-std", | |
31 | -] | |
32 | -# Unstable/test-only feature to run wasm-bindgen tests in a browser | |
33 | -test-in-browser = [] | |
34 | ||
35 | [package.metadata.docs.rs] | |
36 | features = ["std", "custom"] |