Bug 1888590 - Mark some subtests on trusted-types-event-handlers.html as failing...
[gecko.git] / third_party / rust / getrandom / Cargo.toml
bloba4c3946b732ad87f1b2914a2dd78bcd861eb145a
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
12 [package]
13 edition = "2018"
14 name = "getrandom"
15 version = "0.2.11"
16 authors = ["The Rand Project Developers"]
17 exclude = [".*"]
18 description = "A small cross-platform library for retrieving random data from system source"
19 documentation = "https://docs.rs/getrandom"
20 readme = "README.md"
21 categories = [
22     "os",
23     "no-std",
25 license = "MIT OR Apache-2.0"
26 repository = "https://github.com/rust-random/getrandom"
28 [package.metadata.cross.target.x86_64-unknown-netbsd]
29 pre-build = [
30     "mkdir -p /tmp/netbsd",
31     "curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O",
32     "tar -C /tmp/netbsd -xJf base.tar.xz",
33     "cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib",
34     "rm base.tar.xz",
35     "rm -rf /tmp/netbsd",
38 [package.metadata.docs.rs]
39 features = [
40     "std",
41     "custom",
43 rustdoc-args = [
44     "--cfg",
45     "docsrs",
48 [dependencies.cfg-if]
49 version = "1"
51 [dependencies.compiler_builtins]
52 version = "0.1"
53 optional = true
55 [dependencies.core]
56 version = "1.0"
57 optional = true
58 package = "rustc-std-workspace-core"
60 [features]
61 custom = []
62 js = [
63     "wasm-bindgen",
64     "js-sys",
66 rdrand = []
67 rustc-dep-of-std = [
68     "compiler_builtins",
69     "core",
70     "libc/rustc-dep-of-std",
71     "wasi/rustc-dep-of-std",
73 std = []
74 test-in-browser = []
76 [target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dependencies.js-sys]
77 version = "0.3"
78 optional = true
80 [target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dependencies.wasm-bindgen]
81 version = "0.2.62"
82 optional = true
83 default-features = false
85 [target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test]
86 version = "0.3.18"
88 [target."cfg(target_os = \"wasi\")".dependencies.wasi]
89 version = "0.11"
90 default-features = false
92 [target."cfg(unix)".dependencies.libc]
93 version = "0.2.149"
94 default-features = false