[package]
edition = "2024"
rust-version = "1.98"
name = "makeover-webview"
version = "0.126.0"
build = "build.rs"
links = "makeover-webview"
exclude = [
"scripts/",
"dist/",
"bento.toml",
".githooks/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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. With the build feature, writes a consumer's generated frontend files and checks the hand-written ones against them."
documentation = "https://docs.rs/makeover-webview"
readme = "README.md"
keywords = [
"css",
"html",
"design-system",
"renderer",
"webview",
]
categories = [
"gui",
"web-programming",
"template-engine",
]
license = "MIT"
repository = "https://makenot.work/git/max/makeover-webview"
[package.metadata.docs.rs]
all-features = true
[features]
build = [
"dep:makeover",
"dep:makeover-timing",
]
[lib]
name = "makeover_webview"
path = "src/lib.rs"
[[example]]
name = "dump"
path = "examples/dump.rs"
[dependencies.makeover]
version = "5.12"
optional = true
[dependencies.makeover-geometry]
version = "0.9"
[dependencies.makeover-layout]
version = "0.56"
[dependencies.makeover-timing]
version = "0.3"
optional = true
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
items_after_statements = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unnecessary_wraps = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"
unused = "warn"