2022-04-04 07:12:45 +03:00
|
|
|
[package]
|
2022-04-06 09:01:48 +03:00
|
|
|
authors = [
|
|
|
|
"강동윤 <kdy1997.dev@gmail.com>",
|
|
|
|
"Alexander Akait <sheo13666q@gmail.com>",
|
|
|
|
]
|
2022-04-04 07:12:45 +03:00
|
|
|
description = "HTML parser"
|
|
|
|
documentation = "https://rustdoc.swc.rs/swc_html_parser/"
|
|
|
|
edition = "2021"
|
2022-05-17 07:30:24 +03:00
|
|
|
include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json"]
|
2022-04-04 07:12:45 +03:00
|
|
|
license = "Apache-2.0"
|
|
|
|
name = "swc_html_parser"
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2024-04-29 03:56:21 +03:00
|
|
|
version = "0.39.27"
|
2022-04-04 07:12:45 +03:00
|
|
|
|
2022-04-04 14:12:03 +03:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2022-04-04 07:12:45 +03:00
|
|
|
[features]
|
|
|
|
debug = []
|
|
|
|
|
|
|
|
[dependencies]
|
2023-12-01 23:08:13 +03:00
|
|
|
swc_atoms = { version = "0.6.5", path = "../swc_atoms" }
|
2024-04-29 03:56:21 +03:00
|
|
|
swc_common = { version = "0.33.26", path = "../swc_common" }
|
|
|
|
swc_html_ast = { version = "0.33.21", path = "../swc_html_ast" }
|
|
|
|
swc_html_utils = { version = "0.18.21", path = "../swc_html_utils" }
|
2022-04-04 07:12:45 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-04-29 03:54:45 +03:00
|
|
|
criterion = { workspace = true }
|
|
|
|
serde = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
2023-03-24 07:46:42 +03:00
|
|
|
|
2024-04-29 03:56:21 +03:00
|
|
|
swc_html_ast = { version = "0.33.21", path = "../swc_html_ast", features = [
|
2023-03-27 07:28:42 +03:00
|
|
|
"serde-impl",
|
|
|
|
] }
|
2024-04-29 03:56:21 +03:00
|
|
|
swc_html_visit = { version = "0.33.20", path = "../swc_html_visit" }
|
2023-11-11 22:12:50 +03:00
|
|
|
swc_malloc = { version = "0.5.10", path = "../swc_malloc" }
|
2024-04-29 03:56:21 +03:00
|
|
|
testing = { version = "0.35.24", path = "../testing" }
|
2022-05-17 07:30:24 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2022-08-11 12:52:44 +03:00
|
|
|
name = "compare"
|
2022-05-17 07:30:24 +03:00
|
|
|
|
2022-05-24 09:32:15 +03:00
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2022-08-11 12:52:44 +03:00
|
|
|
name = "lexer"
|
2022-05-24 09:32:15 +03:00
|
|
|
|
2022-05-17 07:30:24 +03:00
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2022-08-11 12:52:44 +03:00
|
|
|
name = "parser"
|