Skip to main content

max / makeover-tui

2.1 KB · 56 lines History Blame Raw
1 [package]
2 name = "makeover-tui"
3 version = "0.19.0"
4 edition = "2024"
5 description = "The terminal renderer for makeover-layout, on ratatui. Colour stops being the constraint above 256 entries; geometry never does, because an edge occupies a whole cell on every side."
6 license = "MIT"
7 repository = "https://makenot.work/git/max/makeover-tui"
8
9 [features]
10 # Resolving a loaded makeover theme into ratatui colours. Off by default: it is
11 # the only thing here that needs `makeover`, which embeds the shipped theme
12 # files, and a consumer that only paints bevels should not carry them.
13 theme = ["dep:makeover"]
14
15 [dependencies]
16 ratatui = { version = "0.30", default-features = false }
17 # Exact patch, not the minor. A minor-only pin lets a consumer whose lock
18 # already holds an earlier patch satisfy the requirement and still fail to
19 # compile against an API added in a later one -- which is what `Depth::Overlay`
20 # would do here. The rest of the suite has pinned this way since
21 # makeover-webview found it the hard way.
22 makeover-layout = "0.21.0"
23 makeover = { version = "2.5", optional = true }
24
25 [lints.rust]
26 unused = "warn"
27 unreachable_pub = "warn"
28
29 [lints.clippy]
30 pedantic = { level = "warn", priority = -1 }
31 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
32 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
33 # else in `pedantic` stays a warning. Keep this block identical across repos.
34 module_name_repetitions = "allow"
35 # Doc lints. No docs-completeness push is underway.
36 missing_errors_doc = "allow"
37 missing_panics_doc = "allow"
38 doc_markdown = "allow"
39 # Numeric casts. Endemic and mostly intentional in size and byte math.
40 cast_possible_truncation = "allow"
41 cast_sign_loss = "allow"
42 cast_precision_loss = "allow"
43 cast_possible_wrap = "allow"
44 cast_lossless = "allow"
45 # Subjective structure and style nags. High churn, low signal.
46 must_use_candidate = "allow"
47 too_many_lines = "allow"
48 struct_excessive_bools = "allow"
49 similar_names = "allow"
50 items_after_statements = "allow"
51 single_match_else = "allow"
52 # Frequent false-positives in TUI and router-heavy code.
53 match_same_arms = "allow"
54 unnecessary_wraps = "allow"
55 type_complexity = "allow"
56