swc/crates/swc_ecma_utils/Cargo.toml
2024-10-17 10:54:06 +09:00

43 lines
1.4 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Utilities for swc ecmascript ast nodes"
documentation = "https://rustdoc.swc.rs/swc_ecma_utils/"
edition = "2021"
license = "Apache-2.0"
name = "swc_ecma_utils"
repository = "https://github.com/swc-project/swc.git"
version = "1.0.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
# Process in parallel.
concurrent = ["swc_common/concurrent", "rayon"]
[dependencies]
indexmap = { workspace = true }
num_cpus = { workspace = true }
once_cell = { workspace = true }
rayon = { workspace = true, optional = true }
rustc-hash = { workspace = true }
ryu-js = { workspace = true }
tracing = { workspace = true }
unicode-id = { workspace = true }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "1.0.0", path = "../swc_common" }
swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" }
swc_ecma_visit = { version = "1.0.0", path = "../swc_ecma_visit" }
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "arm")))'.dependencies]
stacker = { version = "0.1.15", optional = true }
[dev-dependencies]
swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" }
testing = { version = "1.0.0", path = "../testing" }