Skip to main content

max / makeover-tui

2.4 KB · 61 lines History Blame Raw
1 [package]
2 name = "makeover-tui"
3 version = "0.44.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 exclude = ["scripts/", "dist/", "bento.toml", ".githooks/"]
9
10 [features]
11 # Resolving a loaded makeover theme into ratatui colours. Off by default: it is
12 # the only thing here that needs `makeover`, which embeds the shipped theme
13 # files, and a consumer that only paints bevels should not carry them.
14 theme = ["dep:makeover"]
15
16 [dependencies]
17 ratatui = { version = "0.30", default-features = false }
18 # Exact patch, not the minor. A minor-only pin lets a consumer whose lock
19 # already holds an earlier patch satisfy the requirement and still fail to
20 # compile against an API added in a later one -- which is what `Depth::Overlay`
21 # would do here. The rest of the suite has pinned this way since
22 # makeover-webview found it the hard way.
23 makeover-layout = "0.44"
24 # The cadence the activity mark blinks at, and the motion-off seam beside it.
25 # Taken rather than chosen here: `activity_lit` is this crate's only use of it,
26 # and the whole point is that the number is not this crate's to pick.
27 makeover-timing = "0.1.1"
28 makeover = { version = "3.0", optional = true }
29
30 [lints.rust]
31 unused = "warn"
32 unreachable_pub = "warn"
33
34 [lints.clippy]
35 pedantic = { level = "warn", priority = -1 }
36 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
37 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
38 # else in `pedantic` stays a warning. Keep this block identical across repos.
39 module_name_repetitions = "allow"
40 # Doc lints. No docs-completeness push is underway.
41 missing_errors_doc = "allow"
42 missing_panics_doc = "allow"
43 doc_markdown = "allow"
44 # Numeric casts. Endemic and mostly intentional in size and byte math.
45 cast_possible_truncation = "allow"
46 cast_sign_loss = "allow"
47 cast_precision_loss = "allow"
48 cast_possible_wrap = "allow"
49 cast_lossless = "allow"
50 # Subjective structure and style nags. High churn, low signal.
51 must_use_candidate = "allow"
52 too_many_lines = "allow"
53 struct_excessive_bools = "allow"
54 similar_names = "allow"
55 items_after_statements = "allow"
56 single_match_else = "allow"
57 # Frequent false-positives in TUI and router-heavy code.
58 match_same_arms = "allow"
59 unnecessary_wraps = "allow"
60 type_complexity = "allow"
61