| 1 |
# Workspace root so `cargo build`/`cargo test` at sando/ covers the daemon. |
| 2 |
# Kept as a workspace (rather than a flat crate) so future sando-side crates can |
| 3 |
# join without a restructure. The sando-tui member was retired 2026-07-22 when |
| 4 |
# the shared ops-viewer replaced it; see wiki [[release-viewer-overview]]. |
| 5 |
[workspace] |
| 6 |
resolver = "3" |
| 7 |
members = ["daemon"] |
| 8 |
|
| 9 |
[workspace.lints.rust] |
| 10 |
unused = "warn" |
| 11 |
unreachable_pub = "warn" |
| 12 |
|
| 13 |
[workspace.lints.clippy] |
| 14 |
pedantic = { level = "warn", priority = -1 } |
| 15 |
# Allow-list tuned from a measured breakdown across server/multithreaded/pter |
| 16 |
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything |
| 17 |
# else in `pedantic` stays a warning. Keep this block identical across repos. |
| 18 |
module_name_repetitions = "allow" |
| 19 |
# Doc lints. No docs-completeness push is underway. |
| 20 |
missing_errors_doc = "allow" |
| 21 |
missing_panics_doc = "allow" |
| 22 |
doc_markdown = "allow" |
| 23 |
# Numeric casts. Endemic and mostly intentional in size and byte math. |
| 24 |
cast_possible_truncation = "allow" |
| 25 |
cast_sign_loss = "allow" |
| 26 |
cast_precision_loss = "allow" |
| 27 |
cast_possible_wrap = "allow" |
| 28 |
cast_lossless = "allow" |
| 29 |
# Subjective structure and style nags. High churn, low signal. |
| 30 |
must_use_candidate = "allow" |
| 31 |
too_many_lines = "allow" |
| 32 |
struct_excessive_bools = "allow" |
| 33 |
similar_names = "allow" |
| 34 |
items_after_statements = "allow" |
| 35 |
single_match_else = "allow" |
| 36 |
# Frequent false-positives in TUI and router-heavy code. |
| 37 |
match_same_arms = "allow" |
| 38 |
unnecessary_wraps = "allow" |
| 39 |
type_complexity = "allow" |
| 40 |
|