2021-01-05 08:29:52 +03:00
|
|
|
[package]
|
2022-10-05 15:36:15 +03:00
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
|
|
description = "rust port of babel and closure compiler."
|
2021-03-31 07:09:10 +03:00
|
|
|
documentation = "https://rustdoc.swc.rs/swc_ecma_transforms_base/"
|
2022-10-05 15:36:15 +03:00
|
|
|
edition = "2021"
|
|
|
|
include = ["Cargo.toml", "src/**/*.rs", "src/**/*.js"]
|
|
|
|
license = "Apache-2.0"
|
|
|
|
name = "swc_ecma_transforms_base"
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2022-10-13 09:12:56 +03:00
|
|
|
version = "0.111.23"
|
2021-10-17 18:03:30 +03:00
|
|
|
|
2022-04-04 14:12:03 +03:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2021-10-17 18:03:30 +03:00
|
|
|
[features]
|
2022-10-05 15:36:15 +03:00
|
|
|
concurrent = ["concurrent-renamer", "rayon", "swc_ecma_utils/concurrent"]
|
2022-06-15 17:36:57 +03:00
|
|
|
concurrent-renamer = ["rayon"]
|
2021-01-05 08:29:52 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2022-10-05 15:36:15 +03:00
|
|
|
better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" }
|
|
|
|
bitflags = "1"
|
|
|
|
once_cell = "1.10.0"
|
|
|
|
phf = { version = "0.10", features = ["macros"] }
|
|
|
|
rayon = { version = "1", optional = true }
|
|
|
|
rustc-hash = "1.1.0"
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
smallvec = "1.8.0"
|
2022-10-13 09:12:56 +03:00
|
|
|
swc_atoms = { version = "0.4.21", path = "../swc_atoms" }
|
|
|
|
swc_common = { version = "0.29.8", path = "../swc_common" }
|
|
|
|
swc_ecma_ast = { version = "0.94.11", path = "../swc_ecma_ast" }
|
|
|
|
swc_ecma_parser = { version = "0.122.12", path = "../swc_ecma_parser" }
|
|
|
|
swc_ecma_utils = { version = "0.105.16", path = "../swc_ecma_utils" }
|
|
|
|
swc_ecma_visit = { version = "0.80.11", path = "../swc_ecma_visit" }
|
2022-10-05 15:36:15 +03:00
|
|
|
tracing = "0.1.32"
|
2021-01-05 08:29:52 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-10-05 15:36:15 +03:00
|
|
|
criterion = "0.3"
|
|
|
|
rayon = "1"
|
2022-10-13 09:12:56 +03:00
|
|
|
swc_ecma_codegen = { version = "0.127.15", path = "../swc_ecma_codegen" }
|
2022-10-05 15:36:15 +03:00
|
|
|
swc_ecma_transforms_macros = { version = "0.5.0", path = "../swc_ecma_transforms_macros" }
|
|
|
|
swc_node_base = { version = "0.5.5", path = "../swc_node_base" }
|
2022-10-13 09:12:56 +03:00
|
|
|
testing = { version = "0.31.8", path = "../testing" }
|
2022-04-03 18:56:29 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2022-10-05 15:36:15 +03:00
|
|
|
name = "base"
|
2022-04-03 18:56:29 +03:00
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2022-10-05 15:36:15 +03:00
|
|
|
name = "parallel"
|
2022-09-28 09:40:31 +03:00
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2022-10-05 15:36:15 +03:00
|
|
|
name = "deps"
|
2022-04-03 18:56:29 +03:00
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2022-10-05 15:36:15 +03:00
|
|
|
name = "time_complexity"
|