-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (44 loc) · 1.34 KB
/
Copy pathCargo.toml
File metadata and controls
50 lines (44 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[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"