rand_testsuite/Cargo.toml

82 lines
2.3 KiB
TOML
Raw Permalink Normal View History

2024-09-05 13:45:23 +00:00
[package]
2024-09-06 08:20:10 +00:00
name = "rand_testsuite"
2024-09-05 13:45:23 +00:00
version = "0.1.0"
edition = "2021"
authors = ["Charlotte 🦝 Delenk <lotte@chir.rs>"]
2024-09-06 08:20:10 +00:00
description = "A statistical randomness tester for testsuites"
2024-09-05 13:45:23 +00:00
license = "MIT OR Apache-2.0"
2024-09-06 08:20:10 +00:00
repository = "https://git.chir.rs/ProcyOS/rand_testsuite"
keywords = ["testing", "rand"]
categories = ["development-tools::testing", "no-std", "no-std::no-alloc"]
2024-09-05 13:45:23 +00:00
[dependencies]
2024-09-06 08:20:10 +00:00
bitvec = { version = "1.0.1", default-features = false }
2024-09-10 08:28:28 +00:00
extra-math = { version = "0.1.1", registry = "procyos" }
2024-09-06 08:20:10 +00:00
libm = "0.2.8"
num-traits = { version = "0.2.19", default-features = false, features = [
"libm",
] }
rand_core = { version = "0.6.4", optional = true }
[features]
rand_core = ["dep:rand_core", "alloc"]
alloc = ["bitvec/alloc"]
std = ["num-traits/std"]
full = ["rand_core", "std"]
2024-09-05 13:45:23 +00:00
[lints.rust]
deprecated-safe = "forbid"
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
impl-trait-overcaptures = "warn"
keyword-idents-2024 = "forbid"
let-underscore-drop = "warn"
macro-use-extern-crate = "deny"
meta-variable-misuse = "deny"
missing-abi = "forbid"
missing-copy-implementations = "warn"
missing-debug-implementations = "deny"
missing-docs = "warn"
missing-unsafe-on-extern = "deny"
non-local-definitions = "warn"
redundant-lifetimes = "warn"
single-use-lifetimes = "warn"
trivial-casts = "warn"
trivial-numeric-casts = "warn"
unit-bindings = "deny"
unnameable-types = "warn"
unreachable-pub = "warn"
2024-09-06 08:20:10 +00:00
unsafe-code = "forbid"
2024-09-05 13:45:23 +00:00
unused-crate-dependencies = "warn"
unused-extern-crates = "warn"
unused-import-braces = "warn"
unused-lifetimes = "warn"
unused-macro-rules = "warn"
unused-qualifications = "warn"
variant-size-differences = "warn"
[lints.clippy]
cargo = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
module-name-repetitions = "allow"
alloc-instead-of-core = "warn"
allow-attributes-without-reason = "deny"
assertions-on-result-states = "forbid"
clone-on-ref-ptr = "warn"
empty-drop = "warn"
expect-used = "deny"
inline-asm-x86-att-syntax = "forbid"
missing-docs-in-private-items = "warn"
panic = "deny"
panic-in-result-fn = "forbid"
rc-buffer = "warn"
rc-mutex = "deny"
std-instead-of-alloc = "warn"
std-instead-of-core = "warn"
unwrap-used = "forbid"
2024-09-06 08:20:10 +00:00
[dev-dependencies]
bitvec = "1.0.1"
rand = "0.8.5"