Skip to main content

max / makeover-webview

2.4 KB · 59 lines History Blame Raw
1 [package]
2 name = "makeover-webview"
3 version = "0.25.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.14.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 #
20 # Exact patch, for the second reason a minor-only pin is wrong: touch 0.8.0
21 # requires makeover-geometry ^0.6, so a consumer lock already holding 0.8.0
22 # satisfies "0.8" and keeps a second makeover-geometry in the graph next to the
23 # 0.7 this crate asks for. `Density` is nominally distinct across the two and
24 # the build fails on a type that reads as identical.
25 makeover-touch = "0.8.1"
26 makeover-geometry = "0.7"
27
28 [lints.rust]
29 unused = "warn"
30 unreachable_pub = "warn"
31
32 [lints.clippy]
33 pedantic = { level = "warn", priority = -1 }
34 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
35 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
36 # else in `pedantic` stays a warning. Keep this block identical across repos.
37 module_name_repetitions = "allow"
38 # Doc lints. No docs-completeness push is underway.
39 missing_errors_doc = "allow"
40 missing_panics_doc = "allow"
41 doc_markdown = "allow"
42 # Numeric casts. Endemic and mostly intentional in size and byte math.
43 cast_possible_truncation = "allow"
44 cast_sign_loss = "allow"
45 cast_precision_loss = "allow"
46 cast_possible_wrap = "allow"
47 cast_lossless = "allow"
48 # Subjective structure and style nags. High churn, low signal.
49 must_use_candidate = "allow"
50 too_many_lines = "allow"
51 struct_excessive_bools = "allow"
52 similar_names = "allow"
53 items_after_statements = "allow"
54 single_match_else = "allow"
55 # Frequent false-positives in TUI and router-heavy code.
56 match_same_arms = "allow"
57 unnecessary_wraps = "allow"
58 type_complexity = "allow"
59