# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "rand_chacha"
version = "0.10.0"
authors = [
    "The Rand Project Developers",
    "The Rust Project Developers",
    "The CryptoCorrosion Contributors",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
ChaCha random number generator
"""
homepage = "https://rust-random.github.io/book"
documentation = "https://docs.rs/rand_chacha"
readme = "README.md"
keywords = [
    "random",
    "rng",
    "chacha",
]
categories = [
    "algorithms",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-random/rand"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]

[features]
default = ["std"]
serde = ["dep:serde"]
std = ["ppv-lite86/std"]

[lib]
name = "rand_chacha"
path = "src/lib.rs"

[dependencies.ppv-lite86]
version = "0.2.14"
features = ["simd"]
default-features = false

[dependencies.rand_core]
version = "0.10.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.getrandom]
version = "0.4.0-rc.1"
features = ["sys_rng"]

[dev-dependencies.serde_json]
version = "1.0.120"
