Skip to main content

max / makenotwork

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