[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Utilities for swc ecmascript ast nodes"
documentation = "https://rustdoc.swc.rs/swc_ecma_utils/"
edition = { workspace = true }
license = { workspace = true }
name = "swc_ecma_utils"
repository = { workspace = true }
version = "7.0.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
concurrent = ["swc_common/concurrent", "swc_parallel/parallel", "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 = "3.0.2", path = "../swc_atoms" }
swc_common = { version = "5.0.0", path = "../swc_common" }
swc_ecma_ast = { version = "5.0.1", path = "../swc_ecma_ast" }
swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" }
swc_parallel = { version = "1.0.1", path = "../swc_parallel", default-features = false }
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "arm")))'.dependencies]
stacker = { version = "0.1.15", optional = true }
[dev-dependencies]
swc_ecma_parser = { version = "6.0.1", path = "../swc_ecma_parser" }
testing = { version = "5.0.0", path = "../testing" }