• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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
6# to registry (e.g., crates.io) dependencies.
7#
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.
11
12[package]
13edition = "2018"
14name = "getrandom"
15version = "0.2.5"
16authors = ["The Rand Project Developers"]
17exclude = [".*"]
18description = "A small cross-platform library for retrieving random data from system source"
19documentation = "https://docs.rs/getrandom"
20categories = [
21    "os",
22    "no-std",
23]
24license = "MIT OR Apache-2.0"
25repository = "https://github.com/rust-random/getrandom"
26
27[package.metadata.docs.rs]
28features = [
29    "std",
30    "custom",
31]
32rustdoc-args = [
33    "--cfg",
34    "docsrs",
35]
36
37[dependencies.cfg-if]
38version = "1"
39
40[dependencies.compiler_builtins]
41version = "0.1"
42optional = true
43
44[dependencies.core]
45version = "1.0"
46optional = true
47package = "rustc-std-workspace-core"
48
49[features]
50custom = []
51js = [
52    "wasm-bindgen",
53    "js-sys",
54]
55rdrand = []
56rustc-dep-of-std = [
57    "compiler_builtins",
58    "core",
59    "libc/rustc-dep-of-std",
60    "wasi/rustc-dep-of-std",
61]
62std = []
63test-in-browser = []
64
65[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.js-sys]
66version = "0.3"
67optional = true
68
69[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.wasm-bindgen]
70version = "0.2.62"
71optional = true
72default-features = false
73
74[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test]
75version = "0.3.18"
76
77[target."cfg(target_os = \"wasi\")".dependencies.wasi]
78version = "0.10"
79
80[target."cfg(unix)".dependencies.libc]
81version = "0.2.64"
82default-features = false
83