swc/crates/swc_html_minifier/Cargo.toml
Donny/강동윤 9c176632b1
refactor(visit): Pre-generate visitor code (#9262)
**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
2024-07-17 23:00:45 +00:00

56 lines
2.1 KiB
TOML

[package]
authors = [
"강동윤 <kdy1997.dev@gmail.com>",
"Alexander Akait <sheo13666q@gmail.com>",
]
description = "HTML minifier"
documentation = "https://rustdoc.swc.rs/swc_html_minifier/"
edition = "2021"
include = ["Cargo.toml", "src/**/*.rs", "data/**/*.json"]
license = { workspace = true }
name = "swc_html_minifier"
repository = "https://github.com/swc-project/swc.git"
version = "0.141.0"
[lib]
bench = false
[dependencies]
once_cell = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
swc_atoms = { version = "0.6.5", path = "../swc_atoms" }
swc_cached = { version = "0.3.19", path = "../swc_cached" }
swc_common = { version = "0.35.0", path = "../swc_common" }
swc_css_ast = { version = "0.142.0", path = "../swc_css_ast" }
swc_css_codegen = { version = "0.153.0", path = "../swc_css_codegen" }
swc_css_minifier = { version = "0.118.0", path = "../swc_css_minifier" }
swc_css_parser = { version = "0.152.0", path = "../swc_css_parser" }
swc_ecma_ast = { version = "0.116.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.153.0", path = "../swc_ecma_codegen", features = [
"serde-impl",
] }
swc_ecma_minifier = { version = "0.199.0", path = "../swc_ecma_minifier", features = [
"extra-serde",
] }
swc_ecma_parser = { version = "0.147.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "0.142.0", path = "../swc_ecma_transforms_base" }
swc_ecma_visit = { version = "0.102.0", path = "../swc_ecma_visit" }
swc_html_ast = { version = "0.35.0", path = "../swc_html_ast" }
swc_html_codegen = { version = "0.44.0", path = "../swc_html_codegen" }
swc_html_parser = { version = "0.41.0", path = "../swc_html_parser" }
swc_html_utils = { version = "0.20.0", path = "../swc_html_utils" }
swc_html_visit = { version = "0.35.0", path = "../swc_html_visit" }
[dev-dependencies]
codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }
swc_malloc = { version = "0.5.10", path = "../swc_malloc" }
testing = { version = "0.37.0", path = "../testing" }
[[bench]]
harness = false
name = "full"