Skip to main content

max / makenotwork

1.7 KB · 50 lines History Blame Raw
1 [package]
2 name = "git-command"
3 version = "0.1.0"
4 edition = "2024"
5 # MIT rather than PolyForm. The threat model asks whether someone could collect
6 # rent with just this crate and contribute nothing; a parser for the git-over-SSH
7 # command grammar is not a service anyone can run. The perimeter is the MNW
8 # server, and both consumers here stay PolyForm.
9 license = "MIT"
10 # Internal shared crate, consumed by path inside this repo and never published.
11 # `publish = false` is what makes that a cargo-enforced fact rather than a
12 # convention: without it an accidental `cargo publish` is one command away.
13 publish = false
14
15 [dependencies]
16
17 [dev-dependencies]
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