Skip to main content

max / everycycle

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
Signed with PGP, not checked
Commit: 86fa099958e0926c1b927ed04c1a06e17b900e62
Parent: 60dd9c8
2 files changed, +28 insertions, -0 deletions
M Cargo.toml +24
@@ -26,4 +26,28 @@
26 26
27 27 [workspace.lints.clippy]
28 28 pedantic = { level = "warn", priority = -1 }
29 + # Allow-list tuned from a measured breakdown across server/multithreaded/pter
30 + # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
31 + # else in `pedantic` stays a warning. Keep this block identical across repos.
29 32 module_name_repetitions = "allow"
33 + # Doc lints. No docs-completeness push is underway.
34 + missing_errors_doc = "allow"
35 + missing_panics_doc = "allow"
36 + doc_markdown = "allow"
37 + # Numeric casts. Endemic and mostly intentional in size and byte math.
38 + cast_possible_truncation = "allow"
39 + cast_sign_loss = "allow"
40 + cast_precision_loss = "allow"
41 + cast_possible_wrap = "allow"
42 + cast_lossless = "allow"
43 + # Subjective structure and style nags. High churn, low signal.
44 + must_use_candidate = "allow"
45 + too_many_lines = "allow"
46 + struct_excessive_bools = "allow"
47 + similar_names = "allow"
48 + items_after_statements = "allow"
49 + single_match_else = "allow"
50 + # Frequent false-positives in TUI and router-heavy code.
51 + match_same_arms = "allow"
52 + unnecessary_wraps = "allow"
53 + type_complexity = "allow"
@@ -1,0 +1,4 @@
1 + [toolchain]
2 + channel = "stable"
3 + profile = "minimal"
4 + components = ["rustfmt", "clippy"]