[package]
edition = "2024"
name = "plait"
version = "0.8.1"
authors = ["Devashish Dixit <devashishdxt@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern HTML templating library for Rust that embraces composition."
homepage = "https://github.com/devashishdxt/plait"
readme = "README.md"
keywords = [
"html",
"template",
"markup",
]
categories = [
"template-engine",
"web-programming",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/devashishdxt/plait"
[package.metadata.docs.rs]
all-features = true
[features]
actix-web = ["dep:actix-web"]
axum = ["dep:axum"]
default = [
"itoa",
"ryu",
]
itoa = ["dep:itoa"]
rocket = ["dep:rocket"]
ryu = ["dep:ryu"]
[lib]
name = "plait"
path = "src/lib.rs"
[[test]]
name = "classes_tests"
path = "tests/classes_tests.rs"
[[test]]
name = "component_macro_desugar_tests"
path = "tests/component_macro_desugar_tests.rs"
[[test]]
name = "component_macro_tests"
path = "tests/component_macro_tests.rs"
[[test]]
name = "html_macro_tests"
path = "tests/html_macro_tests.rs"
[dependencies.actix-web]
version = "4.13.0"
optional = true
default-features = false
[dependencies.axum]
version = "0.8.8"
optional = true
default-features = false
[dependencies.itoa]
version = "1.0.17"
optional = true
[dependencies.plait-macros]
version = "0.8.1"
[dependencies.rocket]
version = "0.5.1"
optional = true
default-features = false
[dependencies.ryu]
version = "1.0.23"
optional = true