Skip to main content

max / makeover-webview

2.1 KB · 53 lines History Blame Raw
1 [package]
2 name = "makeover-webview"
3 version = "0.22.0"
4 edition = "2024"
5 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."
6 license = "MIT"
7 repository = "https://makenot.work/git/max/makeover-webview"
8
9 [dependencies]
10 # Pinned to the exact patch that introduced the API this crate calls, not to the
11 # minor. A minor-only pin lets a consumer whose lock already holds an earlier
12 # patch satisfy the requirement and still fail to compile. That happened once
13 # with `form::radio_html` calling `FieldKind::Radio`, and makeover-build is where
14 # it surfaced, one release later.
15 makeover-layout = "0.12.0"
16 # The capability axis. `makeover-touch` decides whether a hover rule should be
17 # gated at all; `makeover-geometry` spells the gate as a media condition. Both
18 # answers are owned elsewhere and neither is re-derived here.
19 makeover-touch = "0.8"
20 makeover-geometry = "0.7"
21
22 [lints.rust]
23 unused = "warn"
24 unreachable_pub = "warn"
25
26 [lints.clippy]
27 pedantic = { level = "warn", priority = -1 }
28 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
29 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
30 # else in `pedantic` stays a warning. Keep this block identical across repos.
31 module_name_repetitions = "allow"
32 # Doc lints. No docs-completeness push is underway.
33 missing_errors_doc = "allow"
34 missing_panics_doc = "allow"
35 doc_markdown = "allow"
36 # Numeric casts. Endemic and mostly intentional in size and byte math.
37 cast_possible_truncation = "allow"
38 cast_sign_loss = "allow"
39 cast_precision_loss = "allow"
40 cast_possible_wrap = "allow"
41 cast_lossless = "allow"
42 # Subjective structure and style nags. High churn, low signal.
43 must_use_candidate = "allow"
44 too_many_lines = "allow"
45 struct_excessive_bools = "allow"
46 similar_names = "allow"
47 items_after_statements = "allow"
48 single_match_else = "allow"
49 # Frequent false-positives in TUI and router-heavy code.
50 match_same_arms = "allow"
51 unnecessary_wraps = "allow"
52 type_complexity = "allow"
53