Skip to main content

max / makenotwork

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