Skip to main content

max / makenotwork

1.4 KB · 50 lines History Blame Raw
1 [package]
2 name = "mnw-assumptions"
3 version = "0.1.0"
4 edition = "2024"
5 license = "MIT"
6
7 [dependencies]
8 subst = { path = "../subst" }
9 serde = { version = "1", features = ["derive"] }
10 toml = "1.1"
11
12 [dev-dependencies]
13 tempfile = "3"
14 regex-lite = "0.1"
15
16 [[bin]]
17 name = "substitute_dir"
18
19 [lints.rust]
20 unused = "warn"
21 unreachable_pub = "warn"
22
23 [lints.clippy]
24 pedantic = { level = "warn", priority = -1 }
25 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
26 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
27 # else in `pedantic` stays a warning. Keep this block identical across repos.
28 module_name_repetitions = "allow"
29 # Doc lints. No docs-completeness push is underway.
30 missing_errors_doc = "allow"
31 missing_panics_doc = "allow"
32 doc_markdown = "allow"
33 # Numeric casts. Endemic and mostly intentional in size and byte math.
34 cast_possible_truncation = "allow"
35 cast_sign_loss = "allow"
36 cast_precision_loss = "allow"
37 cast_possible_wrap = "allow"
38 cast_lossless = "allow"
39 # Subjective structure and style nags. High churn, low signal.
40 must_use_candidate = "allow"
41 too_many_lines = "allow"
42 struct_excessive_bools = "allow"
43 similar_names = "allow"
44 items_after_statements = "allow"
45 single_match_else = "allow"
46 # Frequent false-positives in TUI and router-heavy code.
47 match_same_arms = "allow"
48 unnecessary_wraps = "allow"
49 type_complexity = "allow"
50