swc/common/Cargo.toml
강동윤 a8cb554be5
feat: Expose .take() (#2190)
swc_common:
 - Add `Take`. (#2189)

swc_ecma_ast:
 - Implement `Take` for ast nodes. 

swc_ecma_transforms_base:
 - Remove `MapWithMut`.
2021-08-31 14:45:48 +00:00

42 lines
1.2 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Common utilities for the swc project."
documentation = "https://rustdoc.swc.rs/swc_common/"
edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_common"
repository = "https://github.com/swc-project/swc.git"
version = "0.11.9"
[features]
concurrent = ["parking_lot"]
default = []
tty-emitter = ["atty", "termcolor"]
[dependencies]
ahash = "0.7.4"
arbitrary = {version = "1", optional = true, features = ["derive"]}
ast_node = {version = "0.7.3", path = "../macros/ast_node"}
atty = {version = "0.2", optional = true}
cfg-if = "0.1.2"
either = "1.5"
from_variant = {version = "0.1.3", path = "../macros/from_variant"}
fxhash = "0.2.1"
log = "0.4"
num-bigint = "0.2"
once_cell = "1"
owning_ref = "0.4"
parking_lot = {version = "0.7.1", optional = true}
scoped-tls = {version = "1"}
serde = {version = "1.0.119", features = ["derive"]}
sourcemap = {version = "6", optional = true}
string_cache = "0.8.1"
swc_eq_ignore_macros = {version = "0.1", path = "../macros/eq_ignore"}
swc_visit = {version = "0.2.4", path = "../visit"}
termcolor = {version = "1.0", optional = true}
unicode-width = "0.1.4"
[dev-dependencies]
rayon = "1"
serde_json = "1"