binbreak/Cargo.toml
2025-12-03 00:00:00 +01:00

51 lines
1.3 KiB
TOML

[package]
name = "binbreak"
version = "0.3.1"
description = "A terminal based binary number guessing game"
authors = ["William Raendchen <william@holonaut.io>"]
license = "MIT"
edition = "2024"
repository = "https://github.com/epic-64/binbreak"
readme = "README.md"
keywords = ["tui", "terminal", "game", "binary", "numbers"]
categories = ["games", "command-line-utilities"]
documentation = "https://docs.rs/binbreak"
homepage = "https://github.com/epic-64/binbreak"
exclude = ["binbreak_highscores.txt", "target/*", ".github/*"]
[dependencies]
crossterm = "0.29.0"
ratatui = "0.29.0"
indoc = "2.0.7"
color-eyre = "0.6.3"
rand = "0.9.1"
[lints.rust]
unsafe_code = "forbid"
unused_must_use = "warn"
unused_imports = "warn"
dead_code = "warn"
[lints.clippy]
# Lint groups - enable comprehensive checking
pedantic = { level = "allow", priority = -1 }
nursery = { level = "allow", priority = -1 }
correctness = { level = "deny", priority = -1 }
all = { level = "warn", priority = -1 }
# Allow certain common patterns
match_same_arms = "allow"
# Complexity warnings (thresholds in clippy.toml)
cognitive_complexity = "warn"
too_many_arguments = "warn"
too_many_lines = "warn"
type_complexity = "warn"
struct_excessive_bools = "warn"
fn_params_excessive_bools = "warn"
# Style preferences - encourage safer code
enum_glob_use = "warn"
unwrap_used = "warn"
expect_used = "warn"