Skip to main content

max / makeover-webview

2.8 KB · 65 lines History Blame Raw
1 [package]
2 name = "makeover-webview"
3 version = "0.74.0"
4 edition = "2024"
5 # One copy of this renderer per dependency graph, enforced by cargo rather than
6 # by remembering. Two versions means the generated stylesheet and the emitted
7 # markup can disagree about what a class is called and still compile, which is
8 # the defect this crate exists to make impossible. See build.rs.
9 links = "makeover-webview"
10 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."
11 license = "MIT"
12 repository = "https://makenot.work/git/max/makeover-webview"
13 exclude = ["scripts/", "dist/", "bento.toml", ".githooks/"]
14
15 [dependencies]
16 # Pinned to the exact patch that introduced the API this crate calls, not to the
17 # minor. A minor-only pin lets a consumer whose lock already holds an earlier
18 # patch satisfy the requirement and still fail to compile. That happened once
19 # with `form::radio_html` calling `FieldKind::Radio`, and makeover-build is where
20 # it surfaced, one release later.
21 makeover-layout = "0.44"
22 # The capability axis. `makeover-touch` decides whether a hover rule should be
23 # gated at all; `makeover-geometry` spells the gate as a media condition. Both
24 # answers are owned elsewhere and neither is re-derived here.
25 #
26 # Exact patch, for the second reason a minor-only pin is wrong: touch 0.8.0
27 # requires makeover-geometry ^0.6, so a consumer lock already holding 0.8.0
28 # satisfies "0.8" and keeps a second makeover-geometry in the graph next to the
29 # 0.7 this crate asks for. `Density` is nominally distinct across the two and
30 # the build fails on a type that reads as identical.
31 makeover-touch = "0.34"
32 makeover-geometry = "0.7"
33
34 [lints.rust]
35 unused = "warn"
36 unreachable_pub = "warn"
37
38 [lints.clippy]
39 pedantic = { level = "warn", priority = -1 }
40 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
41 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
42 # else in `pedantic` stays a warning. Keep this block identical across repos.
43 module_name_repetitions = "allow"
44 # Doc lints. No docs-completeness push is underway.
45 missing_errors_doc = "allow"
46 missing_panics_doc = "allow"
47 doc_markdown = "allow"
48 # Numeric casts. Endemic and mostly intentional in size and byte math.
49 cast_possible_truncation = "allow"
50 cast_sign_loss = "allow"
51 cast_precision_loss = "allow"
52 cast_possible_wrap = "allow"
53 cast_lossless = "allow"
54 # Subjective structure and style nags. High churn, low signal.
55 must_use_candidate = "allow"
56 too_many_lines = "allow"
57 struct_excessive_bools = "allow"
58 similar_names = "allow"
59 items_after_statements = "allow"
60 single_match_else = "allow"
61 # Frequent false-positives in TUI and router-heavy code.
62 match_same_arms = "allow"
63 unnecessary_wraps = "allow"
64 type_complexity = "allow"
65