pcg-random 0.2.0

PCG is a family of simple fast space-efficient statistically good algorithms for random number generation.
Documentation
[[bench]]
name = "benches"
path = "benches/benches.rs"

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

[dev-dependencies.chacha20]
version = "0.9"

[dev-dependencies.rand_core]
features = ["os_rng"]
version = "0.9"

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

[features]
default = ["rand"]
rand = ["dep:rand_core"]

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

[lints.clippy]
cast_lossless = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
elidable_lifetime_names = "warn"
ignored_unit_patterns = "warn"
large_stack_arrays = "warn"
large_stack_frames = "warn"
large_types_passed_by_value = "warn"
lossy_float_literal = "warn"
missing_fields_in_debug = "warn"
ptr_as_ptr = "warn"

[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
ambiguous_negative_literals = "warn"
macro-use-extern-crate = "warn"
meta-variable-misuse = "warn"
missing-abi = "warn"
missing-copy-implementations = "warn"
missing-debug-implementations = "warn"
non-ascii-idents = "warn"
noop-method-call = "warn"
redundant-imports = "warn"
redundant-lifetimes = "warn"
single-use-lifetimes = "warn"
trivial-numeric-casts = "warn"
unit-bindings = "warn"
unnameable-types = "warn"
unreachable-pub = "warn"
unused-lifetimes = "warn"
unused-qualifications = "warn"
unused-results = "warn"

[lints.rust.deprecated-safe]
level = "warn"
priority = -1

[lints.rust.future-incompatible]
level = "warn"
priority = -1

[lints.rust.keyword-idents]
level = "warn"
priority = -1

[lints.rust.rust-2018-compatibility]
level = "warn"
priority = -1

[lints.rust.rust-2018-idioms]
level = "warn"
priority = -1

[lints.rust.rust-2021-compatibility]
level = "warn"
priority = -1

[lints.rust.rust-2024-compatibility]
level = "warn"
priority = -1

[lints.rust.unused]
level = "warn"
priority = -1

[package]
authors = ["Daniel Reisinger <daniel@reisinger.xyz>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "PCG is a family of simple fast space-efficient statistically good algorithms for random number generation."
edition = "2024"
license = "ISC"
name = "pcg-random"
readme = false
repository = "https://github.com/danielreisinger/pcg-random"
version = "0.2.0"

[profile.bench]
codegen-units = 1
lto = "thin"

[[test]]
name = "it"
path = "tests/it/main.rs"