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-07-24 16:57:43 +03:00
|
|
|
version = "0.141.1"
|
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"]
|
2022-04-24 18:27:51 +03:00
|
|
|
trace-ast = []
|
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-19 17:41:26 +03:00
|
|
|
arrayvec = "0.7.2"
|
2022-07-20 11:25:26 +03:00
|
|
|
backtrace = { version = "0.3.61", optional = true }
|
2021-07-30 04:11:27 +03:00
|
|
|
indexmap = "1.7.0"
|
2022-07-20 11:25:26 +03:00
|
|
|
num-bigint = "0.4.3"
|
2022-06-13 23:03:09 +03:00
|
|
|
num_cpus = "1.13.1"
|
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-07-20 11:25:26 +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-07-20 11:25:26 +03:00
|
|
|
serde = { version = "1.0.118", features = ["derive"] }
|
2021-05-20 07:51:30 +03:00
|
|
|
serde_json = "1.0.61"
|
2022-07-22 15:06:43 +03:00
|
|
|
swc_atoms = {version = "0.3.0", path = "../swc_atoms"}
|
|
|
|
swc_cached = {version = "0.2.0", path = "../swc_cached"}
|
|
|
|
swc_common = {version = "0.25.0", path = "../swc_common"}
|
2022-06-15 17:36:57 +03:00
|
|
|
swc_config = {version = "0.1.0", path = "../swc_config"}
|
2022-07-22 15:06:43 +03:00
|
|
|
swc_ecma_ast = {version = "0.88.0", path = "../swc_ecma_ast"}
|
|
|
|
swc_ecma_codegen = {version = "0.119.0", path = "../swc_ecma_codegen"}
|
|
|
|
swc_ecma_parser = {version = "0.115.0", path = "../swc_ecma_parser"}
|
|
|
|
swc_ecma_transforms_base = {version = "0.101.0", path = "../swc_ecma_transforms_base", features = ["concurrent-renamer"]}
|
|
|
|
swc_ecma_transforms_optimization = {version = "0.149.0", path = "../swc_ecma_transforms_optimization"}
|
|
|
|
swc_ecma_utils = {version = "0.97.0", path = "../swc_ecma_utils"}
|
|
|
|
swc_ecma_visit = {version = "0.74.0", path = "../swc_ecma_visit"}
|
|
|
|
swc_timer = {version = "0.13.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-07-22 15:06:43 +03:00
|
|
|
swc_ecma_testing = {version = "0.12.0", path = "../swc_ecma_testing"}
|
2022-06-15 17:36:57 +03:00
|
|
|
swc_node_base = {version = "0.5.0", path = "../swc_node_base"}
|
2022-07-22 15:06:43 +03:00
|
|
|
testing = {version = "0.27.0", path = "../testing"}
|
2022-04-22 13:37:04 +03:00
|
|
|
walkdir = "2"
|
2022-03-12 09:16:02 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
|
|
|
name = "full"
|