1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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
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)
17 authors = ["The Rand Project Developers", "The Rust Project Developers"]
18 include = ["src/", "LICENSE-*", "README.md", "CHANGELOG.md", "COPYRIGHT"]
20 description = "Random number generators and other randomness functionality.\n"
21 homepage = "https://rust-random.github.io/book"
22 documentation = "https://docs.rs/rand"
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]
30 rustdoc-args = ["--cfg", "doc_cfg"]
32 [package.metadata.playground]
33 features = ["small_rng", "serde1"]
38 [dependencies.packed_simd]
40 features = ["into_bits"]
42 package = "packed_simd_2"
44 [dependencies.rand_core]
51 [dev-dependencies.bincode]
54 [dev-dependencies.rand_hc]
57 [dev-dependencies.rand_pcg]
61 alloc = ["rand_core/alloc"]
62 default = ["std", "std_rng"]
63 getrandom = ["rand_core/getrandom"]
66 simd_support = ["packed_simd"]
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]
73 default-features = false
74 [target."cfg(target_os = \"emscripten\")".dependencies.rand_hc]
77 [target."cfg(unix)".dependencies.libc]
80 default-features = false