| 1 |
[package] |
| 2 |
name = "rand_chacha" |
| 3 |
version = "0.9.0" |
| 4 |
authors = ["The Rand Project Developers", "The Rust Project Developers", "The CryptoCorrosion Contributors"] |
| 5 |
license = "MIT OR Apache-2.0" |
| 6 |
readme = "README.md" |
| 7 |
repository = "https://github.com/rust-random/rand" |
| 8 |
documentation = "https://docs.rs/rand_chacha" |
| 9 |
homepage = "https://rust-random.github.io/book" |
| 10 |
description = """ |
| 11 |
ChaCha random number generator |
| 12 |
""" |
| 13 |
keywords = ["random", "rng", "chacha"] |
| 14 |
categories = ["algorithms", "no-std"] |
| 15 |
edition = "2021" |
| 16 |
rust-version = "1.63" |
| 17 |
|
| 18 |
[package.metadata.docs.rs] |
| 19 |
all-features = true |
| 20 |
rustdoc-args = ["--generate-link-to-definition"] |
| 21 |
|
| 22 |
[dependencies] |
| 23 |
rand_core = { path = "../rand_core", version = "0.9.0" } |
| 24 |
ppv-lite86 = { version = "0.2.14", default-features = false, features = ["simd"] } |
| 25 |
serde = { version = "1.0", features = ["derive"], optional = true } |
| 26 |
|
| 27 |
[dev-dependencies] |
| 28 |
# Only to test serde |
| 29 |
serde_json = "1.0" |
| 30 |
rand_core = { path = "../rand_core", version = "0.9.0", features = ["os_rng"] } |
| 31 |
|
| 32 |
[features] |
| 33 |
default = ["std"] |
| 34 |
os_rng = ["rand_core/os_rng"] |
| 35 |
std = ["ppv-lite86/std", "rand_core/std"] |
| 36 |
serde = ["dep:serde"] |