Skip to main content

max / makenotwork

2.3 KB · 64 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 # `rustls-no-provider` rather than `rustls`: the latter is an alias for
19 # `__rustls-aws-lc-rs`, which links a C crypto backend. The provider is ring
20 # (pure Rust), installed process-wide by `crate::tls` before any client is
21 # built. Trust still comes from the OS store via reqwest's platform verifier.
22 reqwest = { version = "0.13", default-features = false, features = ["json", "rustls-no-provider"] }
23 rustls = { version = "0.23", default-features = false, features = ["std", "tls12", "logging", "ring"] }
24 serde = { version = "1.0.228", features = ["derive"] }
25 serde_json = "1"
26 toml = "1.1"
27 chrono = { version = "0.4", features = ["serde"] }
28 anyhow = "1.0.102"
29
30 [dev-dependencies]
31 tempfile = "3.20"
32
33 [lints.rust]
34 unused = "warn"
35 unreachable_pub = "warn"
36
37 [lints.clippy]
38 pedantic = { level = "warn", priority = -1 }
39 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
40 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
41 # else in `pedantic` stays a warning. Keep this block identical across repos.
42 module_name_repetitions = "allow"
43 # Doc lints. No docs-completeness push is underway.
44 missing_errors_doc = "allow"
45 missing_panics_doc = "allow"
46 doc_markdown = "allow"
47 # Numeric casts. Endemic and mostly intentional in size and byte math.
48 cast_possible_truncation = "allow"
49 cast_sign_loss = "allow"
50 cast_precision_loss = "allow"
51 cast_possible_wrap = "allow"
52 cast_lossless = "allow"
53 # Subjective structure and style nags. High churn, low signal.
54 must_use_candidate = "allow"
55 too_many_lines = "allow"
56 struct_excessive_bools = "allow"
57 similar_names = "allow"
58 items_after_statements = "allow"
59 single_match_else = "allow"
60 # Frequent false-positives in TUI and router-heavy code.
61 match_same_arms = "allow"
62 unnecessary_wraps = "allow"
63 type_complexity = "allow"
64