Skip to main content

max / makeover-webview

2.0 KB · 52 lines History Blame Raw
1 [package]
2 name = "makeover-webview"
3 version = "0.20.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 # 0.8.2 and not 0.8: `form::radio_html` calls `FieldKind::Radio`, which arrives
11 # in 0.8.2. Declared as "0.8" from 0.16.1, where the radio landed, so a consumer
12 # whose lock already held 0.8.0 got a resolve that satisfied the pin and failed
13 # to compile. makeover-build is where that surfaced, one release later.
14 makeover-layout = "0.11.0"
15 # The capability axis. `makeover-touch` decides whether a hover rule should be
16 # gated at all; `makeover-geometry` spells the gate as a media condition. Both
17 # answers are owned elsewhere and neither is re-derived here.
18 makeover-touch = "0.6"
19 makeover-geometry = "0.6"
20
21 [lints.rust]
22 unused = "warn"
23 unreachable_pub = "warn"
24
25 [lints.clippy]
26 pedantic = { level = "warn", priority = -1 }
27 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
28 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
29 # else in `pedantic` stays a warning. Keep this block identical across repos.
30 module_name_repetitions = "allow"
31 # Doc lints. No docs-completeness push is underway.
32 missing_errors_doc = "allow"
33 missing_panics_doc = "allow"
34 doc_markdown = "allow"
35 # Numeric casts. Endemic and mostly intentional in size and byte math.
36 cast_possible_truncation = "allow"
37 cast_sign_loss = "allow"
38 cast_precision_loss = "allow"
39 cast_possible_wrap = "allow"
40 cast_lossless = "allow"
41 # Subjective structure and style nags. High churn, low signal.
42 must_use_candidate = "allow"
43 too_many_lines = "allow"
44 struct_excessive_bools = "allow"
45 similar_names = "allow"
46 items_after_statements = "allow"
47 single_match_else = "allow"
48 # Frequent false-positives in TUI and router-heavy code.
49 match_same_arms = "allow"
50 unnecessary_wraps = "allow"
51 type_complexity = "allow"
52