Skip to main content

max / makenotwork

1.8 KB · 57 lines History Blame Raw
1 [package]
2 name = "wam"
3 version = "0.2.0"
4 edition = "2024"
5 license-file = "../LICENSE"
6
7 [[bin]]
8 name = "wam"
9 path = "src/main.rs"
10
11 [dependencies]
12 axum = "0.8"
13 chrono = { version = "0.4", features = ["serde"] }
14 clap = { version = "4", features = ["derive"] }
15 color-eyre = "0.6"
16 directories = "6"
17 painhours = { path = "../shared/painhours" }
18 rusqlite = { version = "0.39", features = ["bundled"] }
19 serde = { version = "1", features = ["derive"] }
20 serde_json = "1"
21 reqwest = { version = "0.13", default-features = false, features = ["json", "rustls"] }
22 tokio = { version = "1", features = ["macros", "rt-multi-thread", "net", "time"] }
23 urlencoding = "2"
24 uuid = { version = "1", features = ["v4"] }
25
26 [lints.rust]
27 unused = "warn"
28 unreachable_pub = "warn"
29
30 [lints.clippy]
31 pedantic = { level = "warn", priority = -1 }
32 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
33 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
34 # else in `pedantic` stays a warning. Keep this block identical across repos.
35 module_name_repetitions = "allow"
36 # Doc lints. No docs-completeness push is underway.
37 missing_errors_doc = "allow"
38 missing_panics_doc = "allow"
39 doc_markdown = "allow"
40 # Numeric casts. Endemic and mostly intentional in size and byte math.
41 cast_possible_truncation = "allow"
42 cast_sign_loss = "allow"
43 cast_precision_loss = "allow"
44 cast_possible_wrap = "allow"
45 cast_lossless = "allow"
46 # Subjective structure and style nags. High churn, low signal.
47 must_use_candidate = "allow"
48 too_many_lines = "allow"
49 struct_excessive_bools = "allow"
50 similar_names = "allow"
51 items_after_statements = "allow"
52 single_match_else = "allow"
53 # Frequent false-positives in TUI and router-heavy code.
54 match_same_arms = "allow"
55 unnecessary_wraps = "allow"
56 type_complexity = "allow"
57