Skip to main content

max / makenotwork

1.4 KB · 43 lines History Blame Raw
1 [package]
2 name = "painhours"
3 version = "0.1.0"
4 edition = "2024"
5 license = "MIT"
6 description = "The painhours urgency model: a 0-100 heat score from pain, scale, and age, plus the color band it buckets into. Shared by wam and GoingsOn."
7
8 [dependencies]
9 chrono = { version = "0.4", features = ["serde"] }
10 serde = { version = "1", features = ["derive"] }
11
12 [lints.rust]
13 unused = "warn"
14 unreachable_pub = "warn"
15
16 [lints.clippy]
17 pedantic = { level = "warn", priority = -1 }
18 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
19 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
20 # else in `pedantic` stays a warning. Keep this block identical across repos.
21 module_name_repetitions = "allow"
22 # Doc lints. No docs-completeness push is underway.
23 missing_errors_doc = "allow"
24 missing_panics_doc = "allow"
25 doc_markdown = "allow"
26 # Numeric casts. Endemic and mostly intentional in size and byte math.
27 cast_possible_truncation = "allow"
28 cast_sign_loss = "allow"
29 cast_precision_loss = "allow"
30 cast_possible_wrap = "allow"
31 cast_lossless = "allow"
32 # Subjective structure and style nags. High churn, low signal.
33 must_use_candidate = "allow"
34 too_many_lines = "allow"
35 struct_excessive_bools = "allow"
36 similar_names = "allow"
37 items_after_statements = "allow"
38 single_match_else = "allow"
39 # Frequent false-positives in TUI and router-heavy code.
40 match_same_arms = "allow"
41 unnecessary_wraps = "allow"
42 type_complexity = "allow"
43