[package] name = "rand_chacha" version = "0.9.0-alpha.2" authors = ["The Rand Project Developers", "The Rust Project Developers", "The CryptoCorrosion Contributors"] license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/rust-random/rand" documentation = "https://docs.rs/rand_chacha" homepage = "https://rust-random.github.io/book" description = """ ChaCha random number generator """ keywords = ["random", "rng", "chacha"] categories = ["algorithms", "no-std"] edition = "2021" rust-version = "1.61" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--generate-link-to-definition"] [dependencies] rand_core = { path = "../rand_core", version = "=0.9.0-alpha.2" } ppv-lite86 = { version = "0.2.14", default-features = false, features = ["simd"] } serde = { version = "1.0", features = ["derive"], optional = true } [dev-dependencies] # Only to test serde serde_json = "1.0" rand_core = { path = "../rand_core", version = "=0.9.0-alpha.2", features = ["getrandom"] } [features] default = ["std"] getrandom = ["rand_core/getrandom"] std = ["ppv-lite86/std", "rand_core/std"] serde = ["dep:serde"]