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