2022-04-23 06:50:59 +03:00
|
|
|
[package]
|
2022-06-13 16:55:03 +03:00
|
|
|
authors = [
|
|
|
|
"강동윤 <kdy1997.dev@gmail.com>",
|
|
|
|
"Alexander Akait <sheo13666q@gmail.com>",
|
|
|
|
]
|
2022-04-23 06:50:59 +03:00
|
|
|
description = "HTML minifier"
|
|
|
|
documentation = "https://rustdoc.swc.rs/swc_html_minifier/"
|
|
|
|
edition = "2021"
|
2022-07-20 10:23:58 +03:00
|
|
|
include = ["Cargo.toml", "src/**/*.rs", "data/**/*.json"]
|
2024-07-18 02:00:45 +03:00
|
|
|
license = { workspace = true }
|
2022-04-23 06:50:59 +03:00
|
|
|
name = "swc_html_minifier"
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2024-10-29 05:30:46 +03:00
|
|
|
version = "3.0.0"
|
2022-04-23 06:50:59 +03:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2024-08-13 13:28:13 +03:00
|
|
|
[features]
|
|
|
|
default = ["default-css-minifier"]
|
|
|
|
default-css-minifier = ["swc_css_ast", "swc_css_codegen", "swc_css_minifier", "swc_css_parser"]
|
|
|
|
custom-css-minifier = []
|
|
|
|
|
2022-04-23 06:50:59 +03:00
|
|
|
[dependencies]
|
2024-04-29 03:54:45 +03:00
|
|
|
once_cell = { workspace = true }
|
|
|
|
serde = { workspace = true, features = ["derive"] }
|
|
|
|
serde_json = { workspace = true }
|
2023-03-24 07:46:42 +03:00
|
|
|
|
2024-10-12 10:20:07 +03:00
|
|
|
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
|
|
|
|
swc_cached = { version = "1.0.0", path = "../swc_cached" }
|
2024-10-30 05:10:45 +03:00
|
|
|
swc_common = { version = "2.0.1", path = "../swc_common" }
|
2024-10-29 05:30:46 +03:00
|
|
|
swc_css_ast = { version = "2.0.0", path = "../swc_css_ast", optional = true }
|
|
|
|
swc_css_codegen = { version = "2.0.0", path = "../swc_css_codegen", optional = true }
|
|
|
|
swc_css_minifier = { version = "2.0.0", path = "../swc_css_minifier", optional = true }
|
|
|
|
swc_css_parser = { version = "2.0.0", path = "../swc_css_parser", optional = true }
|
|
|
|
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
|
|
|
|
swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen", features = [
|
2023-03-27 07:28:42 +03:00
|
|
|
"serde-impl",
|
|
|
|
] }
|
2024-10-29 05:30:46 +03:00
|
|
|
swc_ecma_minifier = { version = "3.0.0", path = "../swc_ecma_minifier", features = [
|
2023-03-27 07:28:42 +03:00
|
|
|
"extra-serde",
|
|
|
|
] }
|
2024-10-31 04:32:48 +03:00
|
|
|
swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" }
|
|
|
|
swc_ecma_transforms_base = { version = "3.0.1", path = "../swc_ecma_transforms_base" }
|
2024-10-29 05:30:46 +03:00
|
|
|
swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" }
|
|
|
|
swc_html_ast = { version = "2.0.0", path = "../swc_html_ast" }
|
|
|
|
swc_html_codegen = { version = "2.0.0", path = "../swc_html_codegen" }
|
|
|
|
swc_html_parser = { version = "2.0.0", path = "../swc_html_parser" }
|
|
|
|
swc_html_utils = { version = "2.0.0", path = "../swc_html_utils" }
|
|
|
|
swc_html_visit = { version = "2.0.0", path = "../swc_html_visit" }
|
2022-04-23 06:50:59 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-07-10 09:20:27 +03:00
|
|
|
codspeed-criterion-compat = { workspace = true }
|
|
|
|
criterion = { workspace = true }
|
2023-03-24 07:46:42 +03:00
|
|
|
|
2024-10-12 10:20:07 +03:00
|
|
|
swc_malloc = { version = "1.0.0", path = "../swc_malloc" }
|
2024-10-29 05:30:46 +03:00
|
|
|
testing = { version = "2.0.0", path = "../testing" }
|
2022-09-13 08:01:41 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
|
|
|
name = "full"
|