swc/ecmascript/transforms/compat/Cargo.toml
강동윤 2ad0af9e91
fix(es/transforms/compat): Improve performance (#1673)
swc_ecma_transforms_compat:
 - `classes`: Fast-path.
 - `destructuring`: Fast-path.
 - `sticky_regex`: Fast-path.
 - `spread`: Fast-path.
 - `shorthand`: Fast-path.
 - `typeof_symbol`: Fast-path.
 - `block_scoped_functions`: Fast path.
 - `duplicate_keys`: Use fxhash.
 - `instance_of`: Fast path.
 - `reserved_words`: Make string comparison efficient.
2021-05-11 04:53:36 +00:00

33 lines
1.3 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "rust port of babel and closure compiler."
documentation = "https://rustdoc.swc.rs/swc_ecma_transforms_compat/"
edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_compat"
repository = "https://github.com/swc-project/swc.git"
version = "0.16.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
arrayvec = "0.5.2"
fxhash = "0.2.1"
indexmap = "1.6.1"
is-macro = "0.1.8"
num-bigint = "0.2"
ordered-float = "2.0.1"
serde = {version = "1.0.118", features = ["derive"]}
smallvec = "1.6.0"
swc_atoms = {version = "0.2.5", path = "../../../atoms"}
swc_common = {version = "0.10.16", path = "../../../common"}
swc_ecma_ast = {version = "0.44.0", path = "../../ast"}
swc_ecma_transforms_base = {version = "0.14.0", path = "../base"}
swc_ecma_transforms_macros = {version = "0.2.1", path = "../macros"}
swc_ecma_utils = {version = "0.35.0", path = "../../utils"}
swc_ecma_visit = {version = "0.30.0", path = "../../visit"}
[dev-dependencies]
swc_ecma_parser = {version = "0.56.0", path = "../../parser"}
swc_ecma_transforms_testing = {version = "0.14.0", path = "../testing"}
testing = {version = "0.10.5", path = "../../../testing"}