Debian Codegraph @

debian/rust-vendor/rand/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 = "2024"
14 rust-version = "1.85"
15 name = "rand"
16 version = "0.10.2"
17 authors = [
18 "The Rand Project Developers",
19 "The Rust Project Developers",
20 ]
21 build = false
22 include = [
23 "src/",
24 "LICENSE-*",
25 "README.md",
26 "CHANGELOG.md",
27 "COPYRIGHT",
28 ]
29 autolib = false
30 autobins = false
31 autoexamples = false
32 autotests = false
33 autobenches = false
34 description = """
35 Random number generators and other randomness functionality.
36 """
37 homepage = "https://rust-random.github.io/book"
38 documentation = "https://docs.rs/rand"
39 readme = "README.md"
40 keywords = [
41 "random",
42 "rng",
43 ]
44 categories = [
45 "algorithms",
46 "no-std",
47 ]
48 license = "MIT OR Apache-2.0"
49 repository = "https://github.com/rust-random/rand"
50
51 [package.metadata.docs.rs]
52 all-features = true
53 rustdoc-args = ["--generate-link-to-definition"]
54
55 [package.metadata.playground]
56 features = ["serde"]
57
58 [features]
59 alloc = []
60 chacha = ["dep:chacha20"]
61 default = [
62 "std",
63 "std_rng",
64 "sys_rng",
65 "thread_rng",
66 ]
67 log = []
68 serde = ["dep:serde"]
69 simd_support = []
70 std = [
71 "alloc",
72 "getrandom?/std",
73 ]
74 std_rng = ["dep:chacha20"]
75 sys_rng = [
76 "dep:getrandom",
77 "getrandom/sys_rng",
78 ]
79 thread_rng = [
80 "std",
81 "std_rng",
82 "sys_rng",
83 ]
84 unbiased = []
85
86 [lib]
87 name = "rand"
88 path = "src/lib.rs"
89
90 [dependencies.chacha20]
91 version = "0.10.0"
92 features = ["rng"]
93 optional = true
94 default-features = false
95
96 [dependencies.getrandom]
97 version = "0.4.0"
98 optional = true
99
100 [dependencies.rand_core]
101 version = "0.10.0"
102 default-features = false
103
104 [dependencies.serde]
105 version = "1.0.103"
106 features = ["derive"]
107 optional = true
108
109 [dev-dependencies.postcard]
110 version = "1.1.3"
111 features = ["alloc"]
112 default-features = false
113
114 [dev-dependencies.rand_pcg]
115 version = "0.10"
116
117 [dev-dependencies.rayon]
118 version = "1.7"
119
120 [dev-dependencies.serde_json]
121 version = "1.0.140"