blob: b3d191b5ac49e22d5a6919d8bd84ed30aa275706 [file] [log] [blame]
Joel Galenson4be0c6d2020-07-07 13:20:14 -07001# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
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
David LeGare010ab1d2022-03-02 16:21:18 +00006# to registry (e.g., crates.io) dependencies.
Joel Galenson4be0c6d2020-07-07 13:20:14 -07007#
David LeGare010ab1d2022-03-02 16:21:18 +00008# 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.
Joel Galenson4be0c6d2020-07-07 13:20:14 -070011
12[package]
13edition = "2018"
14name = "getrandom"
David LeGare010ab1d2022-03-02 16:21:18 +000015version = "0.2.5"
Joel Galenson4be0c6d2020-07-07 13:20:14 -070016authors = ["The Rand Project Developers"]
Thiébaud Weksteen9791b302021-03-03 16:30:20 +010017exclude = [".*"]
Joel Galenson4be0c6d2020-07-07 13:20:14 -070018description = "A small cross-platform library for retrieving random data from system source"
19documentation = "https://docs.rs/getrandom"
David LeGare010ab1d2022-03-02 16:21:18 +000020categories = [
21 "os",
22 "no-std",
23]
Joel Galenson4be0c6d2020-07-07 13:20:14 -070024license = "MIT OR Apache-2.0"
25repository = "https://github.com/rust-random/getrandom"
David LeGare010ab1d2022-03-02 16:21:18 +000026
Thiébaud Weksteen9791b302021-03-03 16:30:20 +010027[package.metadata.docs.rs]
David LeGare010ab1d2022-03-02 16:21:18 +000028features = [
29 "std",
30 "custom",
31]
32rustdoc-args = [
33 "--cfg",
34 "docsrs",
35]
36
Joel Galenson4be0c6d2020-07-07 13:20:14 -070037[dependencies.cfg-if]
Thiébaud Weksteen9791b302021-03-03 16:30:20 +010038version = "1"
Joel Galenson4be0c6d2020-07-07 13:20:14 -070039
40[dependencies.compiler_builtins]
41version = "0.1"
42optional = true
43
44[dependencies.core]
45version = "1.0"
46optional = true
47package = "rustc-std-workspace-core"
48
Thiébaud Weksteen9791b302021-03-03 16:30:20 +010049[features]
50custom = []
David LeGare010ab1d2022-03-02 16:21:18 +000051js = [
52 "wasm-bindgen",
53 "js-sys",
54]
Thiébaud Weksteen9791b302021-03-03 16:30:20 +010055rdrand = []
David LeGare010ab1d2022-03-02 16:21:18 +000056rustc-dep-of-std = [
57 "compiler_builtins",
58 "core",
59 "libc/rustc-dep-of-std",
60 "wasi/rustc-dep-of-std",
61]
Thiébaud Weksteen9791b302021-03-03 16:30:20 +010062std = []
63test-in-browser = []
David LeGare010ab1d2022-03-02 16:21:18 +000064
Thiébaud Weksteen9791b302021-03-03 16:30:20 +010065[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.js-sys]
66version = "0.3"
Joel Galenson4be0c6d2020-07-07 13:20:14 -070067optional = true
68
Thiébaud Weksteen9791b302021-03-03 16:30:20 +010069[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.wasm-bindgen]
70version = "0.2.62"
71optional = true
72default-features = false
David LeGare010ab1d2022-03-02 16:21:18 +000073
Thiébaud Weksteen9791b302021-03-03 16:30:20 +010074[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test]
75version = "0.3.18"
David LeGare010ab1d2022-03-02 16:21:18 +000076
Joel Galenson4be0c6d2020-07-07 13:20:14 -070077[target."cfg(target_os = \"wasi\")".dependencies.wasi]
Thiébaud Weksteen9791b302021-03-03 16:30:20 +010078version = "0.10"
David LeGare010ab1d2022-03-02 16:21:18 +000079
Joel Galenson4be0c6d2020-07-07 13:20:14 -070080[target."cfg(unix)".dependencies.libc]
81version = "0.2.64"
82default-features = false