[package] name = "makeover-webview" version = "0.28.0" edition = "2024" # One copy of this renderer per dependency graph, enforced by cargo rather than # by remembering. Two versions means the generated stylesheet and the emitted # markup can disagree about what a class is called and still compile, which is # the defect this crate exists to make impossible. See build.rs. links = "makeover-webview" description = "The webview renderer for makeover-layout. Emits CSS, and is the one renderer that needs no palette: var() is the late binding, so resolution stays with the browser." license = "MIT" repository = "https://makenot.work/git/max/makeover-webview" [dependencies] # Pinned to the exact patch that introduced the API this crate calls, not to the # minor. A minor-only pin lets a consumer whose lock already holds an earlier # patch satisfy the requirement and still fail to compile. That happened once # with `form::radio_html` calling `FieldKind::Radio`, and makeover-build is where # it surfaced, one release later. makeover-layout = "0.16.0" # The capability axis. `makeover-touch` decides whether a hover rule should be # gated at all; `makeover-geometry` spells the gate as a media condition. Both # answers are owned elsewhere and neither is re-derived here. # # Exact patch, for the second reason a minor-only pin is wrong: touch 0.8.0 # requires makeover-geometry ^0.6, so a consumer lock already holding 0.8.0 # satisfies "0.8" and keeps a second makeover-geometry in the graph next to the # 0.7 this crate asks for. `Density` is nominally distinct across the two and # the build fails on a type that reads as identical. makeover-touch = "0.9.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"