winged-rust 1.0.1

Fast, type-safe HTML DSL and static site generation engine in Rust and WebAssembly
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "winged-rust"
version = "1.0.1"
authors = ["Michel Anderson Lutz Teixeira <michel@micheltlutz.me>"]
build = false
exclude = [
    "/.github",
    "/scripts",
    "/examples/web",
    "/npm",
    "WINGED_RUST_SPEC.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast, type-safe HTML DSL and static site generation engine in Rust and WebAssembly"
homepage = "https://github.com/micheltlutz/winged-rust"
documentation = "https://docs.rs/winged-rust"
readme = "README.md"
keywords = [
    "html",
    "dsl",
    "wasm",
    "static-site",
    "templating",
]
categories = [
    "web-programming",
    "template-engine",
    "wasm",
]
license = "MIT"
repository = "https://github.com/micheltlutz/winged-rust"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["ssg"]
parallel = ["dep:rayon"]
ssg = []
wasm = ["dep:wasm-bindgen"]

[lib]
name = "winged_rust"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "marketing_page"
path = "examples/marketing_page.rs"

[[example]]
name = "static_site"
path = "examples/static_site.rs"
required-features = ["ssg"]

[[test]]
name = "golden"
path = "tests/golden.rs"

[[test]]
name = "performance"
path = "tests/performance.rs"

[[test]]
name = "wasm"
path = "tests/wasm.rs"

[[bench]]
name = "render"
path = "benches/render.rs"
harness = false

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.7"

[lints.clippy]
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"