mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 18:31:35 +03:00
f1470cf722
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
Publish crates (auto) / Publish cargo crates (push) Waiting to run
61 lines
2.3 KiB
TOML
61 lines
2.3 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 = "3.0.0"
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[features]
|
|
default = ["default-css-minifier"]
|
|
default-css-minifier = ["swc_css_ast", "swc_css_codegen", "swc_css_minifier", "swc_css_parser"]
|
|
custom-css-minifier = []
|
|
|
|
[dependencies]
|
|
once_cell = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
|
|
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
|
|
swc_cached = { version = "1.0.0", path = "../swc_cached" }
|
|
swc_common = { version = "2.0.1", path = "../swc_common" }
|
|
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 = [
|
|
"serde-impl",
|
|
] }
|
|
swc_ecma_minifier = { version = "3.0.0", path = "../swc_ecma_minifier", features = [
|
|
"extra-serde",
|
|
] }
|
|
swc_ecma_parser = { version = "3.0.0", path = "../swc_ecma_parser" }
|
|
swc_ecma_transforms_base = { version = "3.0.0", path = "../swc_ecma_transforms_base" }
|
|
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" }
|
|
|
|
[dev-dependencies]
|
|
codspeed-criterion-compat = { workspace = true }
|
|
criterion = { workspace = true }
|
|
|
|
swc_malloc = { version = "1.0.0", path = "../swc_malloc" }
|
|
testing = { version = "2.0.0", path = "../testing" }
|
|
|
|
[[bench]]
|
|
harness = false
|
|
name = "full"
|