Skip to main content

max / alloy_tui

Universalize lint block and pin stable toolchain Adopt the shared clippy lint block, de-em-dash its comments per the no-em-dash brand rule, and pin channel=stable (rustfmt + clippy) so lint/format results are reproducible across machines. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-07-24 14:35 UTC
Commit: 1faeae08d786f14cdf0e2d3febe4aa936a451db0
Parent: 8bf807a
2 files changed, +8 insertions, -4 deletions
M Cargo.toml +4 -4
@@ -22,24 +22,24 @@ pedantic = { level = "warn", priority = -1 }
22 22 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
23 23 # else in `pedantic` stays a warning. Keep this block identical across repos.
24 24 module_name_repetitions = "allow"
25 - # Doc lints — no docs-completeness push underway.
25 + # Doc lints. No docs-completeness push is underway.
26 26 missing_errors_doc = "allow"
27 27 missing_panics_doc = "allow"
28 28 doc_markdown = "allow"
29 - # Numeric casts — endemic and mostly intentional in size/byte math.
29 + # Numeric casts. Endemic and mostly intentional in size and byte math.
30 30 cast_possible_truncation = "allow"
31 31 cast_sign_loss = "allow"
32 32 cast_precision_loss = "allow"
33 33 cast_possible_wrap = "allow"
34 34 cast_lossless = "allow"
35 - # Subjective structure/style nags — high churn, low signal.
35 + # Subjective structure and style nags. High churn, low signal.
36 36 must_use_candidate = "allow"
37 37 too_many_lines = "allow"
38 38 struct_excessive_bools = "allow"
39 39 similar_names = "allow"
40 40 items_after_statements = "allow"
41 41 single_match_else = "allow"
42 - # Frequent false-positives in TUI/router-heavy code — added from the buckets breakdown.
42 + # Frequent false-positives in TUI and router-heavy code.
43 43 match_same_arms = "allow"
44 44 unnecessary_wraps = "allow"
45 45 type_complexity = "allow"
@@ -0,0 +1,4 @@
1 + [toolchain]
2 + channel = "stable"
3 + profile = "minimal"
4 + components = ["rustfmt", "clippy"]