Skip to main content

max / alloy

1.5 KB · 53 lines History Blame Raw
1 [workspace]
2 resolver = "3"
3 members = ["crates/*"]
4
5 [workspace.package]
6 edition = "2024"
7 # 1.88 is ratatui 0.30.2's floor, and alloy_tui requires it for `Block::shadow`.
8 rust-version = "1.88"
9 license = "MIT"
10 repository = "https://makenot.work/git/max/alloy"
11 authors = ["Max Johnson <me@maxj.phd>"]
12
13 [workspace.dependencies]
14 ratatui = "0.30"
15 makeover = "3.0"
16
17 [profile.release]
18 lto = "thin"
19 codegen-units = 1
20 strip = "symbols"
21
22 [workspace.lints.rust]
23 unused = "warn"
24 unreachable_pub = "warn"
25
26 [workspace.lints.clippy]
27 pedantic = { level = "warn", priority = -1 }
28 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
29 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
30 # else in `pedantic` stays a warning. Keep this block identical across repos.
31 module_name_repetitions = "allow"
32 # Doc lints. No docs-completeness push is underway.
33 missing_errors_doc = "allow"
34 missing_panics_doc = "allow"
35 doc_markdown = "allow"
36 # Numeric casts. Endemic and mostly intentional in size and byte math.
37 cast_possible_truncation = "allow"
38 cast_sign_loss = "allow"
39 cast_precision_loss = "allow"
40 cast_possible_wrap = "allow"
41 cast_lossless = "allow"
42 # Subjective structure and style nags. High churn, low signal.
43 must_use_candidate = "allow"
44 too_many_lines = "allow"
45 struct_excessive_bools = "allow"
46 similar_names = "allow"
47 items_after_statements = "allow"
48 single_match_else = "allow"
49 # Frequent false-positives in TUI and router-heavy code.
50 match_same_arms = "allow"
51 unnecessary_wraps = "allow"
52 type_complexity = "allow"
53