[package]
edition = "2024"
name = "pbt"
version = "0.4.21"
authors = ["Will Sturgeon <willstrgn@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Property-based testing with `derive` macros, aware of mutual induction & instantiability."
readme = "README.md"
keywords = [
"property",
"proptest",
"arbitrary",
"fuzz",
"test",
]
categories = [
"algorithms",
"data-structures",
"development-tools::testing",
"mathematics",
"security",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wrsturgeon/pbt"
[features]
generated-tests = ["pbt-macros/generated-tests"]
malachite = ["dep:malachite"]
num-bigint = ["dep:num-bigint"]
[lib]
name = "pbt"
path = "src/lib.rs"
[[bench]]
name = "generation"
path = "benches/generation.rs"
harness = false
[dependencies.ahash]
version = "~0.8"
[dependencies.getrandom]
version = "~0.3"
[dependencies.libc]
version = "~0.2"
[dependencies.malachite]
version = "~0.9"
optional = true
[dependencies.num-bigint]
version = "~0.4"
optional = true
[dependencies.papaya]
version = "~0.2"
[dependencies.pbt-macros]
version = "~0.4"
[dependencies.pretty_assertions]
version = "~1.4"
[dependencies.serde]
version = "~1.0"
features = ["derive"]
[dependencies.serde_json]
version = "~1.0"
[dependencies.wyrand]
version = "~0.4"
[dev-dependencies.gungraun]
version = "~0.19"
[lints.clippy]
blanket_clippy_restriction_lints = "allow"
implicit_return = "allow"
inline_always = "allow"
inline_modules = "allow"
min_ident_chars = "allow"
missing_trait_methods = "allow"
mod_module_files = "allow"
needless_borrowed_reference = "allow"
pub_use = "allow"
pub_with_shorthand = "allow"
question_mark_used = "allow"
ref_patterns = "allow"
semicolon_outside_block = "allow"
separated_literal_suffix = "allow"
single_call_fn = "allow"
single_char_lifetime_names = "allow"
too_many_lines = "allow"
type_complexity = "allow"
wildcard-enum-match-arm = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.restriction]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
[lints.rustdoc]
broken_intra_doc_links = "deny"
invalid_codeblock_attributes = "deny"
invalid_html_tags = "deny"
missing_crate_level_docs = "deny"
private_doc_tests = "deny"
private_intra_doc_links = "deny"