Skip to main content

max / makeover-build

2.4 KB · 57 lines History Blame Raw
1 [package]
2 name = "makeover-build"
3 version = "0.16.0"
4 edition = "2024"
5 description = "Build-script support for the make-family design system: materialise makeover's themes and makeover-webview's stylesheet into a Tauri app's frontend, once, instead of copying the same twenty lines into every consumer's build.rs."
6 license = "MIT"
7 repository = "https://makenot.work/git/max/makeover-build"
8
9 [dependencies]
10 # 2.5 and not 2.4, because makeover-webview 0.22 emits `--elevation-overlay`
11 # referring to `var(--elevation)`, and 2.5 is the release that derives that
12 # token. The two crates cannot state the coupling themselves: makeover-webview
13 # has no dependency on makeover, deliberately, so this is the only manifest that
14 # sees both halves. A consumer resolving 2.4 here would generate a stylesheet
15 # naming a token nothing defines, and a custom property whose value fails to
16 # substitute takes the whole declaration with it rather than degrading.
17 makeover = "2.5"
18 # 0.23.0 and not 0.23: the same exact-patch discipline 0.13.1 was released for.
19 # An earlier patch in a minor can pin an older makeover-touch, which drags a
20 # second makeover-geometry into the graph alongside the one below and fails to
21 # compile on `Density` being nominally distinct. The exact patch is what keeps
22 # the geometry axis single.
23 makeover-webview = "0.23.0"
24 makeover-geometry = "0.7"
25
26 [lints.rust]
27 unused = "warn"
28 unreachable_pub = "warn"
29
30 [lints.clippy]
31 pedantic = { level = "warn", priority = -1 }
32 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
33 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
34 # else in `pedantic` stays a warning. Keep this block identical across repos.
35 module_name_repetitions = "allow"
36 # Doc lints. No docs-completeness push is underway.
37 missing_errors_doc = "allow"
38 missing_panics_doc = "allow"
39 doc_markdown = "allow"
40 # Numeric casts. Endemic and mostly intentional in size and byte math.
41 cast_possible_truncation = "allow"
42 cast_sign_loss = "allow"
43 cast_precision_loss = "allow"
44 cast_possible_wrap = "allow"
45 cast_lossless = "allow"
46 # Subjective structure and style nags. High churn, low signal.
47 must_use_candidate = "allow"
48 too_many_lines = "allow"
49 struct_excessive_bools = "allow"
50 similar_names = "allow"
51 items_after_statements = "allow"
52 single_match_else = "allow"
53 # Frequent false-positives in TUI and router-heavy code.
54 match_same_arms = "allow"
55 unnecessary_wraps = "allow"
56 type_complexity = "allow"
57