mirror of
https://github.com/swc-project/swc.git
synced 2024-11-25 22:34:04 +03:00
9c176632b1
**Description:** This would improve compile time by a margin, and this is a refactoring that should be done before applying `swc_allocator::boxed::Box` to ES AST. This PR removes `swc_visit_macros` because we now use a simple binary to generate code before publishing. **Related issue:** - Closes https://github.com/swc-project/swc/issues/9101
51 lines
1.3 KiB
TOML
51 lines
1.3 KiB
TOML
[package]
|
|
authors = [
|
|
"강동윤 <kdy1997.dev@gmail.com>",
|
|
"Alexander Akait <sheo13666q@gmail.com>",
|
|
]
|
|
description = "HTML parser"
|
|
documentation = "https://rustdoc.swc.rs/swc_html_parser/"
|
|
edition = "2021"
|
|
include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json"]
|
|
license = { workspace = true }
|
|
name = "swc_html_parser"
|
|
repository = "https://github.com/swc-project/swc.git"
|
|
version = "0.41.0"
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[features]
|
|
debug = []
|
|
|
|
[dependencies]
|
|
swc_atoms = { version = "0.6.5", path = "../swc_atoms" }
|
|
swc_common = { version = "0.35.0", path = "../swc_common" }
|
|
swc_html_ast = { version = "0.35.0", path = "../swc_html_ast" }
|
|
swc_html_utils = { version = "0.20.0", path = "../swc_html_utils" }
|
|
|
|
[dev-dependencies]
|
|
codspeed-criterion-compat = { workspace = true }
|
|
criterion = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
swc_html_ast = { version = "0.35.0", path = "../swc_html_ast", features = [
|
|
"serde-impl",
|
|
] }
|
|
swc_html_visit = { version = "0.35.0", path = "../swc_html_visit" }
|
|
swc_malloc = { version = "0.5.10", path = "../swc_malloc" }
|
|
testing = { version = "0.37.0", path = "../testing" }
|
|
|
|
[[bench]]
|
|
harness = false
|
|
name = "compare"
|
|
|
|
[[bench]]
|
|
harness = false
|
|
name = "lexer"
|
|
|
|
[[bench]]
|
|
harness = false
|
|
name = "parser"
|