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"
|
2023-08-24 15:58:41 +03:00
|
|
|
version = "0.38.0"
|
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-08-24 11:20:56 +03:00
|
|
|
swc_atoms = { version = "0.5.9", path = "../swc_atoms" }
|
2023-08-24 15:58:41 +03:00
|
|
|
swc_common = { version = "0.32.0", path = "../swc_common" }
|
|
|
|
swc_html_ast = { version = "0.32.0", path = "../swc_html_ast" }
|
|
|
|
swc_html_utils = { version = "0.17.0", path = "../swc_html_utils" }
|
2022-04-04 07:12:45 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-06-22 10:40:41 +03:00
|
|
|
criterion = "0.5"
|
2023-03-24 07:46:42 +03:00
|
|
|
serde = "1.0.127"
|
|
|
|
serde_json = "1.0.66"
|
|
|
|
|
2023-08-24 15:58:41 +03:00
|
|
|
swc_html_ast = { version = "0.32.0", path = "../swc_html_ast", features = [
|
2023-03-27 07:28:42 +03:00
|
|
|
"serde-impl",
|
|
|
|
] }
|
2023-08-24 15:58:41 +03:00
|
|
|
swc_html_visit = { version = "0.32.0", path = "../swc_html_visit" }
|
2023-03-27 07:28:42 +03:00
|
|
|
swc_node_base = { version = "0.5.8", path = "../swc_node_base" }
|
2023-08-24 15:58:41 +03:00
|
|
|
testing = { version = "0.34.0", 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"
|