[package] name = "makeover-build" version = "0.22.0" edition = "2024" 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." license = "MIT" repository = "https://makenot.work/git/max/makeover-build" [dependencies] # 2.5 and not 2.4, because makeover-webview 0.22 emits `--elevation-overlay` # referring to `var(--elevation)`, and 2.5 is the release that derives that # token. The two crates cannot state the coupling themselves: makeover-webview # has no dependency on makeover, deliberately, so this is the only manifest that # sees both halves. A consumer resolving 2.4 here would generate a stylesheet # naming a token nothing defines, and a custom property whose value fails to # substitute takes the whole declaration with it rather than degrading. makeover = "2.5" # The exact patch, not the minor: the same discipline 0.13.1 was released for. # An earlier patch in a minor can pin an older makeover-touch, which drags a # second makeover-geometry into the graph alongside the one below and fails to # compile on `Density` being nominally distinct. The exact patch is what keeps # the geometry axis single. # # 0.27.0 tracks the renderer half rather than only this crate's needs. This # crate emits the stylesheet; a screen renderer emits the markup that stylesheet # matches, and a graph holding both at different versions is an app whose CSS # and HTML were generated by two crates that never agreed. quasi-webview takes # 0.27.0, so a generated app resolved 0.26 through this build dependency and # 0.27 through its renderer until this line moved. makeover-webview = "0.29.0" makeover-geometry = "0.7" [lints.rust] unused = "warn" unreachable_pub = "warn" [lints.clippy] pedantic = { level = "warn", priority = -1 } # Allow-list tuned from a measured breakdown across server/multithreaded/pter # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything # else in `pedantic` stays a warning. Keep this block identical across repos. module_name_repetitions = "allow" # Doc lints. No docs-completeness push is underway. missing_errors_doc = "allow" missing_panics_doc = "allow" doc_markdown = "allow" # Numeric casts. Endemic and mostly intentional in size and byte math. cast_possible_truncation = "allow" cast_sign_loss = "allow" cast_precision_loss = "allow" cast_possible_wrap = "allow" cast_lossless = "allow" # Subjective structure and style nags. High churn, low signal. must_use_candidate = "allow" too_many_lines = "allow" struct_excessive_bools = "allow" similar_names = "allow" items_after_statements = "allow" single_match_else = "allow" # Frequent false-positives in TUI and router-heavy code. match_same_arms = "allow" unnecessary_wraps = "allow" type_complexity = "allow"