Skip to main content

max / makenotwork

1.5 KB · 44 lines History Blame Raw
1 [package]
2 name = "ops-status"
3 version = "0.1.0"
4 edition = "2024"
5 license = "MIT"
6 description = "The status payload contract every monitored service emits and the release viewer renders. Producers describe meaning; the renderer decides appearance."
7
8 [dependencies]
9 serde = { version = "1.0.228", features = ["derive"] }
10 serde_json = "1"
11 chrono = { version = "0.4", features = ["serde"] }
12
13 [lints.rust]
14 unused = "warn"
15 unreachable_pub = "warn"
16
17 [lints.clippy]
18 pedantic = { level = "warn", priority = -1 }
19 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
20 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
21 # else in `pedantic` stays a warning. Keep this block identical across repos.
22 module_name_repetitions = "allow"
23 # Doc lints. No docs-completeness push is underway.
24 missing_errors_doc = "allow"
25 missing_panics_doc = "allow"
26 doc_markdown = "allow"
27 # Numeric casts. Endemic and mostly intentional in size and byte math.
28 cast_possible_truncation = "allow"
29 cast_sign_loss = "allow"
30 cast_precision_loss = "allow"
31 cast_possible_wrap = "allow"
32 cast_lossless = "allow"
33 # Subjective structure and style nags. High churn, low signal.
34 must_use_candidate = "allow"
35 too_many_lines = "allow"
36 struct_excessive_bools = "allow"
37 similar_names = "allow"
38 items_after_statements = "allow"
39 single_match_else = "allow"
40 # Frequent false-positives in TUI and router-heavy code.
41 match_same_arms = "allow"
42 unnecessary_wraps = "allow"
43 type_complexity = "allow"
44