Skip to main content

max / makeover-tui

2.4 KB · 60 lines History Blame Raw
1 [package]
2 name = "makeover-tui"
3 version = "0.40.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.40.0"
23 # The cadence the activity mark blinks at, and the motion-off seam beside it.
24 # Taken rather than chosen here: `activity_lit` is this crate's only use of it,
25 # and the whole point is that the number is not this crate's to pick.
26 makeover-timing = "0.1.1"
27 makeover = { version = "3.0", optional = true }
28
29 [lints.rust]
30 unused = "warn"
31 unreachable_pub = "warn"
32
33 [lints.clippy]
34 pedantic = { level = "warn", priority = -1 }
35 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
36 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
37 # else in `pedantic` stays a warning. Keep this block identical across repos.
38 module_name_repetitions = "allow"
39 # Doc lints. No docs-completeness push is underway.
40 missing_errors_doc = "allow"
41 missing_panics_doc = "allow"
42 doc_markdown = "allow"
43 # Numeric casts. Endemic and mostly intentional in size and byte math.
44 cast_possible_truncation = "allow"
45 cast_sign_loss = "allow"
46 cast_precision_loss = "allow"
47 cast_possible_wrap = "allow"
48 cast_lossless = "allow"
49 # Subjective structure and style nags. High churn, low signal.
50 must_use_candidate = "allow"
51 too_many_lines = "allow"
52 struct_excessive_bools = "allow"
53 similar_names = "allow"
54 items_after_statements = "allow"
55 single_match_else = "allow"
56 # Frequent false-positives in TUI and router-heavy code.
57 match_same_arms = "allow"
58 unnecessary_wraps = "allow"
59 type_complexity = "allow"
60