| 1 |
[package] |
| 2 |
name = "makeover" |
| 3 |
version = "2.1.0" |
| 4 |
edition = "2024" |
| 5 |
description = "Shared theme loading for the make-family apps: TOML theme files parsed into intent-based color tokens, with perceptual derivations and WCAG contrast." |
| 6 |
license = "MIT" |
| 7 |
repository = "https://git.sr.ht/~maxmj/makeover" |
| 8 |
|
| 9 |
[dependencies] |
| 10 |
serde = { version = "1", features = ["derive"] } |
| 11 |
toml = "1.1" |
| 12 |
include_dir = "0.7" |
| 13 |
|
| 14 |
[dev-dependencies] |
| 15 |
tempfile = "3" |
| 16 |
|
| 17 |
[lints.rust] |
| 18 |
unused = "warn" |
| 19 |
unreachable_pub = "warn" |
| 20 |
|
| 21 |
[lints.clippy] |
| 22 |
pedantic = { level = "warn", priority = -1 } |
| 23 |
# Allow-list tuned from a measured breakdown across server/multithreaded/pter |
| 24 |
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything |
| 25 |
# else in `pedantic` stays a warning. Keep this block identical across repos. |
| 26 |
module_name_repetitions = "allow" |
| 27 |
# Doc lints. No docs-completeness push is underway. |
| 28 |
missing_errors_doc = "allow" |
| 29 |
missing_panics_doc = "allow" |
| 30 |
doc_markdown = "allow" |
| 31 |
# Numeric casts. Endemic and mostly intentional in size and byte math. |
| 32 |
cast_possible_truncation = "allow" |
| 33 |
cast_sign_loss = "allow" |
| 34 |
cast_precision_loss = "allow" |
| 35 |
cast_possible_wrap = "allow" |
| 36 |
cast_lossless = "allow" |
| 37 |
# Subjective structure and style nags. High churn, low signal. |
| 38 |
must_use_candidate = "allow" |
| 39 |
too_many_lines = "allow" |
| 40 |
struct_excessive_bools = "allow" |
| 41 |
similar_names = "allow" |
| 42 |
items_after_statements = "allow" |
| 43 |
single_match_else = "allow" |
| 44 |
# Frequent false-positives in TUI and router-heavy code. |
| 45 |
match_same_arms = "allow" |
| 46 |
unnecessary_wraps = "allow" |
| 47 |
type_complexity = "allow" |
| 48 |
|