| 1 |
[package] |
| 2 |
name = "makeover-webview" |
| 3 |
version = "0.33.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 |
|
| 14 |
[dependencies] |
| 15 |
# Pinned to the exact patch that introduced the API this crate calls, not to the |
| 16 |
# minor. A minor-only pin lets a consumer whose lock already holds an earlier |
| 17 |
# patch satisfy the requirement and still fail to compile. That happened once |
| 18 |
# with `form::radio_html` calling `FieldKind::Radio`, and makeover-build is where |
| 19 |
# it surfaced, one release later. |
| 20 |
makeover-layout = "0.17.0" |
| 21 |
# The capability axis. `makeover-touch` decides whether a hover rule should be |
| 22 |
# gated at all; `makeover-geometry` spells the gate as a media condition. Both |
| 23 |
# answers are owned elsewhere and neither is re-derived here. |
| 24 |
# |
| 25 |
# Exact patch, for the second reason a minor-only pin is wrong: touch 0.8.0 |
| 26 |
# requires makeover-geometry ^0.6, so a consumer lock already holding 0.8.0 |
| 27 |
# satisfies "0.8" and keeps a second makeover-geometry in the graph next to the |
| 28 |
# 0.7 this crate asks for. `Density` is nominally distinct across the two and |
| 29 |
# the build fails on a type that reads as identical. |
| 30 |
makeover-touch = "0.10.0" |
| 31 |
makeover-geometry = "0.7" |
| 32 |
|
| 33 |
[lints.rust] |
| 34 |
unused = "warn" |
| 35 |
unreachable_pub = "warn" |
| 36 |
|
| 37 |
[lints.clippy] |
| 38 |
pedantic = { level = "warn", priority = -1 } |
| 39 |
# Allow-list tuned from a measured breakdown across server/multithreaded/pter |
| 40 |
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything |
| 41 |
# else in `pedantic` stays a warning. Keep this block identical across repos. |
| 42 |
module_name_repetitions = "allow" |
| 43 |
# Doc lints. No docs-completeness push is underway. |
| 44 |
missing_errors_doc = "allow" |
| 45 |
missing_panics_doc = "allow" |
| 46 |
doc_markdown = "allow" |
| 47 |
# Numeric casts. Endemic and mostly intentional in size and byte math. |
| 48 |
cast_possible_truncation = "allow" |
| 49 |
cast_sign_loss = "allow" |
| 50 |
cast_precision_loss = "allow" |
| 51 |
cast_possible_wrap = "allow" |
| 52 |
cast_lossless = "allow" |
| 53 |
# Subjective structure and style nags. High churn, low signal. |
| 54 |
must_use_candidate = "allow" |
| 55 |
too_many_lines = "allow" |
| 56 |
struct_excessive_bools = "allow" |
| 57 |
similar_names = "allow" |
| 58 |
items_after_statements = "allow" |
| 59 |
single_match_else = "allow" |
| 60 |
# Frequent false-positives in TUI and router-heavy code. |
| 61 |
match_same_arms = "allow" |
| 62 |
unnecessary_wraps = "allow" |
| 63 |
type_complexity = "allow" |
| 64 |
|