]> git.proxmox.com Git - rustc.git/blob - vendor/rand/Cargo.toml
New upstream version 1.53.0+dfsg1
[rustc.git] / vendor / rand / Cargo.toml
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 believe there's an error in this file please file an
9 # issue against the rust-lang/cargo repository. If you're
10 # editing this file be aware that the upstream Cargo.toml
11 # will likely look very different (and much more reasonable)
12
13 [package]
14 edition = "2018"
15 name = "rand"
16 version = "0.8.3"
17 authors = ["The Rand Project Developers", "The Rust Project Developers"]
18 include = ["src/", "LICENSE-*", "README.md", "CHANGELOG.md", "COPYRIGHT"]
19 autobenches = true
20 description = "Random number generators and other randomness functionality.\n"
21 homepage = "https://rust-random.github.io/book"
22 documentation = "https://docs.rs/rand"
23 readme = "README.md"
24 keywords = ["random", "rng"]
25 categories = ["algorithms", "no-std"]
26 license = "MIT OR Apache-2.0"
27 repository = "https://github.com/rust-random/rand"
28 [package.metadata.docs.rs]
29 all-features = true
30 rustdoc-args = ["--cfg", "doc_cfg"]
31
32 [package.metadata.playground]
33 features = ["small_rng", "serde1"]
34 [dependencies.log]
35 version = "0.4.4"
36 optional = true
37
38 [dependencies.packed_simd]
39 version = "0.3.4"
40 features = ["into_bits"]
41 optional = true
42 package = "packed_simd_2"
43
44 [dependencies.rand_core]
45 version = "0.6.0"
46
47 [dependencies.serde]
48 version = "1.0.103"
49 features = ["derive"]
50 optional = true
51 [dev-dependencies.bincode]
52 version = "1.2.1"
53
54 [dev-dependencies.rand_hc]
55 version = "0.3.0"
56
57 [dev-dependencies.rand_pcg]
58 version = "0.3.0"
59
60 [features]
61 alloc = ["rand_core/alloc"]
62 default = ["std", "std_rng"]
63 getrandom = ["rand_core/getrandom"]
64 nightly = []
65 serde1 = ["serde"]
66 simd_support = ["packed_simd"]
67 small_rng = []
68 std = ["rand_core/std", "rand_chacha/std", "alloc", "getrandom", "libc"]
69 std_rng = ["rand_chacha", "rand_hc"]
70 [target."cfg(not(target_os = \"emscripten\"))".dependencies.rand_chacha]
71 version = "0.3.0"
72 optional = true
73 default-features = false
74 [target."cfg(target_os = \"emscripten\")".dependencies.rand_hc]
75 version = "0.3.0"
76 optional = true
77 [target."cfg(unix)".dependencies.libc]
78 version = "0.2.22"
79 optional = true
80 default-features = false