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.
16 authors = ["The Rand Project Developers"]
18 description = "A small cross-platform library for retrieving random data from system source"
19 documentation = "https://docs.rs/getrandom"
25 license = "MIT OR Apache-2.0"
26 repository = "https://github.com/rust-random/getrandom"
28 [package.metadata.cross.target.x86_64-unknown-netbsd]
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",
38 [package.metadata.docs.rs]
51 [dependencies.compiler_builtins]
58 package = "rustc-std-workspace-core"
70 "libc/rustc-dep-of-std",
71 "wasi/rustc-dep-of-std",
76 [target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dependencies.js-sys]
80 [target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dependencies.wasm-bindgen]
83 default-features = false
85 [target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test]
88 [target."cfg(target_os = \"wasi\")".dependencies.wasi]
90 default-features = false
92 [target."cfg(unix)".dependencies.libc]
94 default-features = false