Skip to main content

max / makenotwork

1.9 KB · 59 lines History Blame Raw
1 [package]
2 name = "ops-viewer"
3 version = "0.1.0"
4 edition = "2024"
5 license = "MIT"
6 description = "One terminal surface over every operator daemon that emits an ops-status payload. Tabs per source plus a worst-first rollup."
7
8 [[bin]]
9 name = "ops-viewer"
10 path = "src/main.rs"
11
12 [dependencies]
13 ops-status = { path = "../shared/ops-status" }
14 # crossterm comes from ratatui's own re-export (`ratatui::crossterm`, 0.29) so
15 # the two cannot drift into a version mismatch.
16 ratatui = "0.30.2"
17 tokio = { version = "1.50.0", features = ["macros", "rt-multi-thread", "time", "sync", "signal"] }
18 reqwest = { version = "0.13", default-features = false, features = ["json", "rustls"] }
19 serde = { version = "1.0.228", features = ["derive"] }
20 serde_json = "1"
21 toml = "1.1"
22 chrono = { version = "0.4", features = ["serde"] }
23 anyhow = "1.0.102"
24
25 [dev-dependencies]
26 tempfile = "3.20"
27
28 [lints.rust]
29 unused = "warn"
30 unreachable_pub = "warn"
31
32 [lints.clippy]
33 pedantic = { level = "warn", priority = -1 }
34 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
35 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
36 # else in `pedantic` stays a warning. Keep this block identical across repos.
37 module_name_repetitions = "allow"
38 # Doc lints. No docs-completeness push is underway.
39 missing_errors_doc = "allow"
40 missing_panics_doc = "allow"
41 doc_markdown = "allow"
42 # Numeric casts. Endemic and mostly intentional in size and byte math.
43 cast_possible_truncation = "allow"
44 cast_sign_loss = "allow"
45 cast_precision_loss = "allow"
46 cast_possible_wrap = "allow"
47 cast_lossless = "allow"
48 # Subjective structure and style nags. High churn, low signal.
49 must_use_candidate = "allow"
50 too_many_lines = "allow"
51 struct_excessive_bools = "allow"
52 similar_names = "allow"
53 items_after_statements = "allow"
54 single_match_else = "allow"
55 # Frequent false-positives in TUI and router-heavy code.
56 match_same_arms = "allow"
57 unnecessary_wraps = "allow"
58 type_complexity = "allow"
59