Debian Codegraph @

debian/rust-vendor/getrandom-0.2.17/Cargo.toml

raw
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]
13 edition = "2018"
14 name = "getrandom"
15 version = "0.2.17"
16 authors = ["The Rand Project Developers"]
17 build = false
18 exclude = [".*"]
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "A small cross-platform library for retrieving random data from system source"
25 documentation = "https://docs.rs/getrandom"
26 readme = "README.md"
27 categories = [
28 "os",
29 "no-std",
30 ]
31 license = "MIT OR Apache-2.0"
32 repository = "https://github.com/rust-random/getrandom"
33
34 [package.metadata.docs.rs]
35 features = [
36 "std",
37 "custom",
38 ]
39 rustdoc-args = [
40 "--cfg",
41 "docsrs",
42 ]
43
44 [package.metadata.cross.target.x86_64-unknown-netbsd]
45 pre-build = [
46 "mkdir -p /tmp/netbsd",
47 "curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O",
48 "tar -C /tmp/netbsd -xJf base.tar.xz",
49 "cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib",
50 "rm base.tar.xz",
51 "rm -rf /tmp/netbsd",
52 ]
53
54 [features]
55 custom = []
56 js = [
57 "wasm-bindgen",
58 "js-sys",
59 ]
60 linux_disable_fallback = []
61 rdrand = []
62 rustc-dep-of-std = [
63 "compiler_builtins",
64 "core",
65 "libc/rustc-dep-of-std",
66 "wasi/rustc-dep-of-std",
67 ]
68 std = []
69 test-in-browser = []
70
71 [lib]
72 name = "getrandom"
73 path = "src/lib.rs"
74
75 [[test]]
76 name = "custom"
77 path = "tests/custom.rs"
78
79 [[test]]
80 name = "normal"
81 path = "tests/normal.rs"
82
83 [[test]]
84 name = "rdrand"
85 path = "tests/rdrand.rs"
86
87 [[bench]]
88 name = "buffer"
89 path = "benches/buffer.rs"
90
91 [dependencies.cfg-if]
92 version = "1"
93
94 [dependencies.compiler_builtins]
95 version = "0.1"
96 optional = true
97
98 [dependencies.core]
99 version = "1.0"
100 optional = true
101 package = "rustc-std-workspace-core"
102
103 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.js-sys]
104 version = "0.3"
105 optional = true
106
107 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.wasm-bindgen]
108 version = "0.2.62"
109 optional = true
110 default-features = false
111
112 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
113 version = "0.3.18"
114
115 [target.'cfg(target_os = "wasi")'.dependencies.wasi]
116 version = "0.11"
117 default-features = false
118
119 [target."cfg(unix)".dependencies.libc]
120 version = "0.2.154"
121 default-features = false