# 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_pcg"
version = "0.10.2"
authors = ["The Rand Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Selected PCG random number generators"
homepage = "https://rust-random.github.io/book"
documentation = "https://docs.rs/rand_pcg"
readme = "README.md"
keywords = [
    "random",
    "rng",
    "pcg",
]
categories = [
    "algorithms",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-random/rngs"

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

[features]
serde = ["dep:serde"]

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

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

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

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

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

[dependencies.rand_core]
version = "0.10"

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

[dev-dependencies.postcard]
version = "1.1.3"
features = ["alloc"]
default-features = false
