2021-05-20 07:51:30 +03:00
|
|
|
[package]
|
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
2021-05-20 09:09:30 +03:00
|
|
|
description = "EcmaScript code minifier."
|
|
|
|
documentation = "https://rustdoc.swc.rs/swc_ecma_minifier/"
|
2021-12-30 12:59:18 +03:00
|
|
|
edition = "2021"
|
2021-05-20 09:09:30 +03:00
|
|
|
include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"]
|
2021-12-01 08:20:52 +03:00
|
|
|
license = "Apache-2.0"
|
2021-05-20 07:51:30 +03:00
|
|
|
name = "swc_ecma_minifier"
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2022-04-09 12:18:07 +03:00
|
|
|
version = "0.100.5"
|
2021-09-20 09:25:51 +03:00
|
|
|
|
2021-11-25 08:16:18 +03:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2022-04-04 14:12:03 +03:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2021-05-28 13:44:03 +03:00
|
|
|
[features]
|
2022-03-25 09:44:07 +03:00
|
|
|
debug = ["backtrace", "swc_ecma_transforms_optimization/debug"]
|
2021-05-28 13:44:03 +03:00
|
|
|
|
2021-05-20 07:51:30 +03:00
|
|
|
[dependencies]
|
2021-10-24 13:52:09 +03:00
|
|
|
ahash = "0.7.6"
|
2022-04-05 09:27:53 +03:00
|
|
|
backtrace = { version = "0.3.61", optional = true }
|
2021-07-30 04:11:27 +03:00
|
|
|
indexmap = "1.7.0"
|
2022-03-11 17:00:55 +03:00
|
|
|
once_cell = "1.10.0"
|
2022-03-03 17:26:49 +03:00
|
|
|
parking_lot = "0.12.0"
|
2022-04-05 09:27:53 +03:00
|
|
|
pretty_assertions = { version = "1.1", optional = true }
|
2021-08-07 11:27:52 +03:00
|
|
|
rayon = "1.5.1"
|
2021-05-20 07:51:30 +03:00
|
|
|
regex = "1.5.3"
|
|
|
|
retain_mut = "0.1.2"
|
2022-03-12 09:45:35 +03:00
|
|
|
rustc-hash = "1.1.0"
|
2022-04-05 09:27:53 +03:00
|
|
|
serde = { version = "1.0.118", features = ["derive"] }
|
2021-05-20 07:51:30 +03:00
|
|
|
serde_json = "1.0.61"
|
2022-04-05 09:27:53 +03:00
|
|
|
swc_atoms = { version = "0.2", path = "../swc_atoms" }
|
|
|
|
swc_cached = { version = "0.1.0", path = "../swc_cached" }
|
2022-04-07 10:21:37 +03:00
|
|
|
swc_common = { version = "0.17.20", path = "../swc_common" }
|
2022-04-05 15:49:22 +03:00
|
|
|
swc_ecma_ast = { version = "0.75.0", path = "../swc_ecma_ast" }
|
|
|
|
swc_ecma_codegen = { version = "0.103.0", path = "../swc_ecma_codegen" }
|
|
|
|
swc_ecma_parser = { version = "0.100.0", path = "../swc_ecma_parser" }
|
|
|
|
swc_ecma_transforms_base = { version = "0.75.0", path = "../swc_ecma_transforms_base" }
|
|
|
|
swc_ecma_transforms_optimization = { version = "0.112.0", path = "../swc_ecma_transforms_optimization" }
|
|
|
|
swc_ecma_utils = { version = "0.79.0", path = "../swc_ecma_utils" }
|
|
|
|
swc_ecma_visit = { version = "0.61.0", path = "../swc_ecma_visit" }
|
2022-04-05 09:27:53 +03:00
|
|
|
swc_timer = { version = "0.5.0", path = "../swc_timer" }
|
2022-03-10 06:15:49 +03:00
|
|
|
tracing = "0.1.32"
|
2022-03-05 15:24:45 +03:00
|
|
|
unicode-id = "0.3.0"
|
2021-05-20 07:51:30 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
ansi_term = "0.12.1"
|
2021-05-28 13:44:03 +03:00
|
|
|
anyhow = "1"
|
2022-03-12 09:16:02 +03:00
|
|
|
criterion = "0.3.5"
|
2022-03-11 17:00:55 +03:00
|
|
|
pretty_assertions = "1.1"
|
2022-04-05 09:27:53 +03:00
|
|
|
swc_node_base = { version = "0.5.0", path = "../swc_node_base" }
|
|
|
|
testing = { version = "0.19.0", path = "../testing" }
|
2022-03-12 09:16:02 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
|
|
|
name = "full"
|