[package]
name = "winged-rust"
version = "1.0.1"
edition = "2024"
rust-version = "1.85"
authors = ["Michel Anderson Lutz Teixeira <michel@micheltlutz.me>"]
description = "Fast, type-safe HTML DSL and static site generation engine in Rust and WebAssembly"
documentation = "https://docs.rs/winged-rust"
repository = "https://github.com/micheltlutz/winged-rust"
homepage = "https://github.com/micheltlutz/winged-rust"
license = "MIT"
readme = "README.md"
keywords = ["html", "dsl", "wasm", "static-site", "templating"]
categories = ["web-programming", "template-engine", "wasm"]
exclude = ["/.github", "/scripts", "/examples/web", "/npm", "WINGED_RUST_SPEC.md"]
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["ssg"]
ssg = []
wasm = ["dep:wasm-bindgen"]
parallel = ["dep:rayon"]
[dependencies]
wasm-bindgen = { version = "0.2", optional = true }
rayon = { version = "1.10", optional = true }
[dev-dependencies]
wasm-bindgen-test = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.7"
[[bench]]
name = "render"
harness = false
[[example]]
name = "static_site"
required-features = ["ssg"]
[[example]]
name = "marketing_page"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
must_use_candidate = "allow"