-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (50 loc) · 1.36 KB
/
Cargo.toml
File metadata and controls
55 lines (50 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "hsml"
version = "0.7.1"
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.38"
markup5ever_rcdom = "0.38"
serde-wasm-bindgen = "0.6.5"
serde_json = "1.0.149"
wasm-bindgen = "0.2.117"
# CLI and LSP dependencies are excluded from wasm builds, which only need the parser and compiler
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
clap = { version = "4.6.0", features = ["cargo"] }
ignore = "0.4.25"
tokio = { version = "1.51.0", features = ["rt-multi-thread", "io-std"] }
tower-lsp = "0.20.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
assert_cmd = "=2.2.0"
predicates = "=3.1.4"
tempfile = "=3.27.0"
[dev-dependencies]
js-sys = "=0.3.94"
wasm-bindgen-test = "=0.3.67"