2021-01-05 08:29:52 +03:00
|
|
|
[package]
|
|
|
|
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/"
|
2021-12-30 12:59:18 +03:00
|
|
|
edition = "2021"
|
2022-03-19 13:49:12 +03:00
|
|
|
include = ["Cargo.toml", "src/**/*.rs", "src/**/*.js"]
|
2021-12-01 08:20:52 +03:00
|
|
|
license = "Apache-2.0"
|
2021-01-05 08:29:52 +03:00
|
|
|
name = "swc_ecma_transforms_base"
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2022-07-05 08:07:28 +03:00
|
|
|
version = "0.94.1"
|
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-06-27 15:32:06 +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-06-27 15:32:06 +03:00
|
|
|
better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" }
|
|
|
|
bitflags = "1"
|
2022-06-11 10:42:43 +03:00
|
|
|
num_cpus = "1.13.1"
|
2022-03-11 17:00:55 +03:00
|
|
|
once_cell = "1.10.0"
|
2022-06-27 15:32:06 +03:00
|
|
|
phf = { version = "0.10", features = ["macros"] }
|
|
|
|
rayon = { version = "1", optional = true }
|
2022-04-28 07:14:17 +03:00
|
|
|
rustc-hash = "1.1.0"
|
2022-06-27 15:32:06 +03:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2022-03-11 17:00:55 +03:00
|
|
|
smallvec = "1.8.0"
|
2022-06-27 15:32:06 +03:00
|
|
|
swc_atoms = { version = "0.2", path = "../swc_atoms" }
|
2022-07-01 05:50:45 +03:00
|
|
|
swc_common = { version = "0.20.0", path = "../swc_common" }
|
|
|
|
swc_ecma_ast = { version = "0.81.0", path = "../swc_ecma_ast" }
|
|
|
|
swc_ecma_parser = { version = "0.108.0", path = "../swc_ecma_parser" }
|
2022-07-02 06:53:10 +03:00
|
|
|
swc_ecma_utils = { version = "0.90.0", path = "../swc_ecma_utils" }
|
2022-07-01 05:50:45 +03:00
|
|
|
swc_ecma_visit = { version = "0.67.0", path = "../swc_ecma_visit" }
|
2022-03-10 06:15:49 +03:00
|
|
|
tracing = "0.1.32"
|
2021-01-05 08:29:52 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-04-03 18:56:29 +03:00
|
|
|
criterion = "0.3"
|
2022-07-01 05:50:45 +03:00
|
|
|
swc_ecma_codegen = { version = "0.112.0", path = "../swc_ecma_codegen" }
|
2022-06-27 15:32:06 +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-07-01 05:50:45 +03:00
|
|
|
testing = { version = "0.22.0", path = "../testing" }
|
2022-04-03 18:56:29 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
|
|
|
name = "base"
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
|
|
|
name = "deps"
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
|
|
|
name = "time_complexity"
|