swc/ecmascript/transforms/optimization/Cargo.toml
Donny/강동윤 2ca6e5d79b
feat(es/transforms/optimization): Support inlining of typeofs ()
swc_ecma_transforms_optimization:
 - `inline_globals`: Support inlining of `typeof`s.

swc:
 - Change error message for parsing failure to mention `Syntax Error`.
2021-10-19 09:49:18 +00:00

46 lines
1.7 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.58.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",
"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.55.0", path = "../../ast"}
swc_ecma_parser = {version = "0.75.0", path = "../../parser"}
swc_ecma_transforms_base = {version = "0.40.0", path = "../base"}
swc_ecma_transforms_macros = {version = "0.2.3", path = "../macros"}
swc_ecma_utils = {version = "0.48.0", path = "../../utils"}
swc_ecma_visit = {version = "0.41.0", path = "../../visit"}
tracing = "0.1.28"
[dev-dependencies]
swc_ecma_transforms_compat = {version = "0.45.0", path = "../compat"}
swc_ecma_transforms_module = {version = "0.51.0", path = "../module"}
swc_ecma_transforms_proposal = {version = "0.51.0", path = "../proposal"}
swc_ecma_transforms_react = {version = "0.53.0", path = "../react"}
swc_ecma_transforms_testing = {version = "0.41.0", path = "../testing"}
swc_ecma_transforms_typescript = {version = "0.54.0", path = "../typescript"}
testing = {version = "0.15.0", path = "../../../testing"}