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-03-12 04:00:23 +03:00
|
|
|
version = "0.89.0"
|
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"]
|
|
|
|
|
2021-05-28 13:44:03 +03:00
|
|
|
[features]
|
2021-09-27 15:05:31 +03:00
|
|
|
debug = ["backtrace"]
|
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"
|
2021-09-27 15:05:31 +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-03-11 17:00:55 +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"
|
|
|
|
serde = {version = "1.0.118", features = ["derive"]}
|
|
|
|
serde_json = "1.0.61"
|
2021-11-10 13:00:54 +03:00
|
|
|
swc_atoms = {version = "0.2", path = "../swc_atoms"}
|
2022-03-03 19:35:41 +03:00
|
|
|
swc_cached = {version = "0.1.0", path = "../swc_cached"}
|
2022-01-12 12:39:56 +03:00
|
|
|
swc_common = {version = "0.17.0", path = "../swc_common"}
|
2022-03-12 04:00:23 +03:00
|
|
|
swc_ecma_ast = {version = "0.70.0", path = "../swc_ecma_ast"}
|
|
|
|
swc_ecma_codegen = {version = "0.95.0", path = "../swc_ecma_codegen"}
|
|
|
|
swc_ecma_parser = {version = "0.93.0", path = "../swc_ecma_parser"}
|
|
|
|
swc_ecma_transforms = {version = "0.131.0", path = "../swc_ecma_transforms/", features = ["optimization"]}
|
|
|
|
swc_ecma_transforms_base = {version = "0.67.0", path = "../swc_ecma_transforms_base"}
|
|
|
|
swc_ecma_utils = {version = "0.72.0", path = "../swc_ecma_utils"}
|
|
|
|
swc_ecma_visit = {version = "0.56.0", path = "../swc_ecma_visit"}
|
2022-01-12 12:39:56 +03:00
|
|
|
swc_timer = {version = "0.4.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"
|
2021-11-10 13:00:54 +03:00
|
|
|
swc_node_base = {version = "0.5.0", path = "../swc_node_base"}
|
2022-01-12 12:39:56 +03:00
|
|
|
testing = {version = "0.18.0", path = "../testing"}
|
2022-03-12 09:16:02 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
|
|
|
name = "full"
|