swc/crates/swc_ecma_minifier/Cargo.toml
강동윤 (Donny) 1ccbbf0a93
Some checks failed
CI / Cargo fmt (push) Has been cancelled
CI / Cargo clippy (push) Has been cancelled
CI / Check license of dependencies (push) Has been cancelled
CI / Check (macos-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / Test wasm (binding_core_wasm) (push) Has been cancelled
CI / Test wasm (binding_minifier_wasm) (push) Has been cancelled
CI / Test wasm (binding_typescript_wasm) (push) Has been cancelled
CI / List crates (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Has been cancelled
CI / Test with @swc/cli (push) Has been cancelled
CI / Miri (better_scoped_tls) (push) Has been cancelled
CI / Miri (string_enum) (push) Has been cancelled
CI / Miri (swc) (push) Has been cancelled
CI / Miri (swc_bundler) (push) Has been cancelled
Benchmark / Bench everything (push) Has been cancelled
Publish crates (auto) / Publish cargo crates (push) Has been cancelled
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Has been cancelled
CI / Done (push) Has been cancelled
chore: Publish crates with swc_core v4.0.2
2024-11-02 22:54:02 +09:00

89 lines
3.3 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "EcmaScript code minifier."
documentation = "https://rustdoc.swc.rs/swc_ecma_minifier/"
edition = "2021"
include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"]
license = "Apache-2.0"
name = "swc_ecma_minifier"
repository = "https://github.com/swc-project/swc.git"
version = "4.0.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
# This enables global concurrent mode
concurrent = [
"swc_common/concurrent",
"swc_ecma_transforms_base/concurrent-renamer",
"swc_ecma_transforms_optimization/concurrent",
"rayon",
"indexmap/rayon",
]
debug = ["backtrace", "swc_ecma_transforms_optimization/debug"]
default = ["serde-impl"]
# Implement serialize/deserialize for more types
extra-serde = ["swc_ecma_ast/serde-impl", "serde-impl"]
serde-impl = []
trace-ast = []
[dependencies]
arrayvec = { workspace = true }
backtrace = { workspace = true, optional = true }
indexmap = { workspace = true }
num-bigint = { workspace = true }
num_cpus = { workspace = true }
once_cell = { workspace = true }
parking_lot = { workspace = true }
phf = { workspace = true }
pretty_assertions = { workspace = true, optional = true }
radix_fmt = { workspace = true }
rayon = { workspace = true, optional = true }
regex = { workspace = true }
rustc-hash = { workspace = true }
ryu-js = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
tracing = { workspace = true }
swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "3.0.0", path = "../swc_common" }
swc_config = { version = "1.0.0", path = "../swc_config", features = [
"sourcemap",
] }
swc_ecma_ast = { version = "3.0.0", path = "../swc_ecma_ast", features = [
"serde",
] }
swc_ecma_codegen = { version = "3.0.0", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "4.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "4.0.1", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_optimization = { version = "4.0.0", path = "../swc_ecma_transforms_optimization" }
swc_ecma_usage_analyzer = { version = "4.0.0", path = "../swc_ecma_usage_analyzer" }
swc_ecma_utils = { version = "4.0.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "3.0.0", path = "../swc_ecma_visit" }
swc_timer = { version = "1.0.0", path = "../swc_timer" }
[dev-dependencies]
ansi_term = { workspace = true }
anyhow = { workspace = true }
criterion = { workspace = true }
pretty_assertions = { workspace = true }
walkdir = { workspace = true }
codspeed-criterion-compat = { workspace = true }
swc_allocator = { version = "1.0.0", path = "../swc_allocator" }
swc_ecma_testing = { version = "3.0.0", path = "../swc_ecma_testing" }
swc_malloc = { version = "1.0.0", path = "../swc_malloc" }
testing = { version = "3.0.0", path = "../testing" }
[[bench]]
harness = false
name = "full"