[package]
name = "hsml"
version = "0.7.2"
authors = ["Christopher Quadflieg <chrissi92@hotmail.de>"]
edition = "2024"
description = "A pug-inspired HTML preprocessor"
repository = "https://github.com/hsml-lab/hsml"
homepage = "https://github.com/hsml-lab/hsml"
license = "MIT"
rust-version = "1.88"
keywords = ["hsml", "html", "preprocessor", "wasm"]
categories = [
"api-bindings",
"command-line-utilities",
"compilers",
"parser-implementations",
]
exclude = [
".claude",
".github",
".vscode",
"coverage",
"examples",
"CONTRIBUTING.md",
"finite_state_machine.dot",
]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
nom = "8.0.0"
nom_locate = "5.0.0"
serde = { version = "1.0.228", features = ["derive"] }
html5ever = "0.39.0"
markup5ever_rcdom = "0.39.0"
serde-wasm-bindgen = "0.6.5"
serde_json = "1.0.150"
wasm-bindgen = "0.2.122"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
clap = { version = "4.6.1", features = ["cargo"] }
ignore = "0.4.25"
tokio = { version = "1.52.3", features = ["rt-multi-thread", "io-std"] }
tower-lsp = "0.20.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
assert_cmd = "=2.2.2"
predicates = "=3.1.4"
tempfile = "=3.27.0"
[dev-dependencies]
js-sys = "=0.3.99"
wasm-bindgen-test = "=0.3.72"