dandelion-random 0.3.1

a high performance non-cryptographic random number generator
Documentation
# 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"
name = "dandelion-random"
version = "0.3.1"
authors = ["Aaron Pribadi <aaron.pribadi@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "a high performance non-cryptographic random number generator"
readme = "README.md"
keywords = [
    "random",
    "prng",
    "rng",
]
categories = ["algorithms"]
license = "Artistic-2.0"
repository = "https://github.com/apribadi/dandelion"

[package.metadata.docs.rs]
all-features = true

[features]
getrandom = ["dep:getrandom"]
rand_core = ["dep:rand_core"]
std = []
thread_local = [
    "getrandom",
    "std",
]

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

[[example]]
name = "asm"
crate-type = ["lib"]
path = "examples/asm.rs"

[[example]]
name = "period"
path = "examples/period/main.rs"

[[example]]
name = "rng"
path = "examples/rng.rs"

[[test]]
name = "unified"
path = "tests/unified.rs"

[[bench]]
name = "unified"
path = "benches/unified/main.rs"
harness = false

[dependencies.getrandom]
version = "0.4.2"
optional = true

[dependencies.rand_core]
version = "0.10.1"
optional = true

[dev-dependencies.divan]
version = "0.1.21"

[dev-dependencies.expect-test]
version = "1.5.1"

[dev-dependencies.rand]
version = "0.10.1"

[dev-dependencies.rand_pcg]
version = "0.10.2"

[dev-dependencies.rand_xoshiro]
version = "0.8.0"

[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
unused_lifetimes = "warn"
unused_qualifications = "warn"
unused_results = "warn"