swc/crates/swc_ecma_minifier/Cargo.toml

67 lines
2.1 KiB
TOML
Raw Normal View History

[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"
name = "swc_ecma_minifier"
repository = "https://github.com/swc-project/swc.git"
2022-07-20 11:27:46 +03:00
version = "0.140.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
debug = ["backtrace", "swc_ecma_transforms_optimization/debug"]
trace-ast = []
[dependencies]
ahash = "0.7.6"
arrayvec = "0.7.2"
backtrace = { version = "0.3.61", optional = true }
indexmap = "1.7.0"
num-bigint = "0.4.3"
num_cpus = "1.13.1"
2022-03-11 17:00:55 +03:00
once_cell = "1.10.0"
parking_lot = "0.12.0"
pretty_assertions = { version = "1.1", optional = true }
rayon = "1.5.1"
regex = "1.5.3"
retain_mut = "0.1.2"
rustc-hash = "1.1.0"
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"
swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_cached = {version = "0.1.0", path = "../swc_cached"}
swc_common = {version = "0.24.2", path = "../swc_common"}
swc_config = {version = "0.1.0", path = "../swc_config"}
2022-07-20 07:10:58 +03:00
swc_ecma_ast = {version = "0.87.0", path = "../swc_ecma_ast"}
swc_ecma_codegen = {version = "0.118.0", path = "../swc_ecma_codegen"}
swc_ecma_parser = {version = "0.114.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_base = {version = "0.100.0", path = "../swc_ecma_transforms_base", features = ["concurrent-renamer"]}
swc_ecma_transforms_optimization = {version = "0.148.0", path = "../swc_ecma_transforms_optimization"}
swc_ecma_utils = {version = "0.96.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.73.0", path = "../swc_ecma_visit"}
2022-07-12 17:58:30 +03:00
swc_timer = {version = "0.12.0", path = "../swc_timer"}
tracing = "0.1.32"
unicode-id = "0.3.0"
[dev-dependencies]
ansi_term = "0.12.1"
anyhow = "1"
criterion = "0.3.5"
2022-03-11 17:00:55 +03:00
pretty_assertions = "1.1"
2022-07-20 07:10:58 +03:00
swc_ecma_testing = {version = "0.11.0", path = "../swc_ecma_testing"}
swc_node_base = {version = "0.5.0", path = "../swc_node_base"}
2022-07-12 17:58:30 +03:00
testing = {version = "0.26.0", path = "../testing"}
walkdir = "2"
[[bench]]
harness = false
name = "full"