swc/ecmascript/transforms/optimization/Cargo.toml
Donny/강동윤 994c9655c8
feat(es/ast): Add utils (#2657)
swc_ecma_ast:
 - Add `as_ident` to `PatOrExpr`.
 - Add `as_ident_mut` to `PatOrExpr`.
 - Replace `Is` macro for `ParOrExpr` with custom impl.
2021-11-05 16:09:08 +09:00

47 lines
1.8 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "rust port of babel and closure compiler."
documentation = "https://rustdoc.swc.rs/swc_ecma_transforms_optimization/"
edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_optimization"
repository = "https://github.com/swc-project/swc.git"
version = "0.63.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
# Process in parallel.
concurrent = [
"swc_common/concurrent",
"swc_ecma_utils/concurrent",
"swc_ecma_transforms_base/concurrent",
"rayon",
]
[dependencies]
ahash = "0.7.4"
dashmap = "4.0.2"
indexmap = "1.6.1"
once_cell = "1.5.2"
rayon = {version = "1.5.1", optional = true}
retain_mut = "0.1.2"
serde_json = "1.0.61"
swc_atoms = {version = "0.2", path = "../../../atoms"}
swc_common = {version = "0.14.0", path = "../../../common"}
swc_ecma_ast = {version = "0.57.0", path = "../../ast"}
swc_ecma_parser = {version = "0.77.0", path = "../../parser"}
swc_ecma_transforms_base = {version = "0.43.0", path = "../base"}
swc_ecma_transforms_macros = {version = "0.3.0", path = "../macros"}
swc_ecma_utils = {version = "0.51.0", path = "../../utils"}
swc_ecma_visit = {version = "0.43.0", path = "../../visit"}
tracing = "0.1.28"
[dev-dependencies]
swc_ecma_transforms_compat = {version = "0.50.0", path = "../compat"}
swc_ecma_transforms_module = {version = "0.56.0", path = "../module"}
swc_ecma_transforms_proposal = {version = "0.56.0", path = "../proposal"}
swc_ecma_transforms_react = {version = "0.58.0", path = "../react"}
swc_ecma_transforms_testing = {version = "0.44.0", path = "../testing"}
swc_ecma_transforms_typescript = {version = "0.59.0", path = "../typescript"}
testing = {version = "0.15.0", path = "../../../testing"}