Debian Codegraph @

third_party/rust/fastrand/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 rust-version = "1.36"
15 name = "fastrand"
16 version = "2.1.1"
17 authors = ["Stjepan Glavina <[email protected]>"]
18 build = false
19 exclude = ["/.*"]
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "A simple and fast random number generator"
25 readme = "README.md"
26 keywords = [
27 "simple",
28 "fast",
29 "rand",
30 "random",
31 "wyrand",
32 ]
33 categories = ["algorithms"]
34 license = "Apache-2.0 OR MIT"
35 repository = "https://github.com/smol-rs/fastrand"
36
37 [package.metadata.docs.rs]
38 all-features = true
39 rustdoc-args = [
40 "--cfg",
41 "docsrs",
42 ]
43
44 [lib]
45 name = "fastrand"
46 path = "src/lib.rs"
47
48 [[test]]
49 name = "char"
50 path = "tests/char.rs"
51
52 [[test]]
53 name = "smoke"
54 path = "tests/smoke.rs"
55
56 [[bench]]
57 name = "bench"
58 path = "benches/bench.rs"
59
60 [dev-dependencies.getrandom]
61 version = "0.2"
62
63 [dev-dependencies.rand]
64 version = "0.8"
65
66 [dev-dependencies.wyhash]
67 version = "0.5"
68
69 [features]
70 alloc = []
71 default = ["std"]
72 js = [
73 "std",
74 "getrandom",
75 ]
76 std = ["alloc"]
77
78 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.getrandom]
79 version = "0.2"
80 features = ["js"]
81 optional = true
82
83 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.getrandom]
84 version = "0.2"
85 features = ["js"]
86
87 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
88 version = "0.3"