[package]
edition = "2024"
name = "shuftlib"
version = "0.3.0"
authors = ["Sebastiano Giordano"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A generic library for card games and related topics"
documentation = "https://docs.rs/shuftlib"
readme = "README.md"
keywords = [
"cards",
"card_games",
]
categories = ["game-development"]
license = "AGPL-3.0-only"
repository = "https://github.com/shuftle/shuftlib"
[features]
default = []
[lib]
name = "shuftlib"
path = "src/lib.rs"
[[test]]
name = "tressette"
path = "tests/tressette.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.bon]
version = "3.9.0"
[dependencies.num-rational]
version = "0.4.2"
[dependencies.rand]
version = "0.10"
[dependencies.strum]
version = "0.28"
features = ["derive"]
default-features = false
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.proptest]
version = "1.10"
[lints.clippy]
cast_lossless = "warn"
cognitive_complexity = "warn"
expect_used = "warn"
float_cmp = "warn"
float_cmp_const = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
panic = "warn"
panic_in_result_fn = "warn"
todo = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[profile.test.package.proptest]
opt-level = 3
[profile.test.package.rand_chacha]
opt-level = 3