swc/crates/swc_common/Cargo.toml

54 lines
1.5 KiB
TOML
Raw Normal View History

2017-12-22 15:51:36 +03:00
[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Common utilities for the swc project."
documentation = "https://rustdoc.swc.rs/swc_common/"
edition = "2018"
2020-08-27 15:33:34 +03:00
license = "Apache-2.0/MIT"
name = "swc_common"
repository = "https://github.com/swc-project/swc.git"
version = "0.14.6"
[lib]
crate-type = ["lib", "dylib"]
2017-12-22 15:51:36 +03:00
[features]
concurrent = ["parking_lot"]
debug = []
default = []
diagnostic-serde = []
plugin-base = ["abi_stable", "anyhow", "bincode", "diagnostic-serde"]
plugin-mode = ["plugin-base"]
plugin-rt = ["plugin-base"]
2020-08-27 15:33:34 +03:00
tty-emitter = ["atty", "termcolor"]
2017-12-22 15:51:36 +03:00
[dependencies]
abi_stable = {version = "0.10.3", optional = true}
ahash = "0.7.4"
anyhow = {version = "1.0.45", optional = true}
arbitrary = {version = "1", optional = true, features = ["derive"]}
ast_node = {version = "0.7.3", path = "../ast_node"}
2020-08-27 15:33:34 +03:00
atty = {version = "0.2", optional = true}
bincode = {version = "1.3.3", optional = true}
cfg-if = "0.1.2"
2020-08-27 15:33:34 +03:00
either = "1.5"
from_variant = {version = "0.1.3", path = "../from_variant"}
num-bigint = "0.2"
2020-08-27 15:33:34 +03:00
once_cell = "1"
owning_ref = "0.4"
2020-08-27 15:33:34 +03:00
parking_lot = {version = "0.7.1", optional = true}
rustc-hash = "1.1.0"
scoped-tls = "1"
serde = {version = "1.0.119", features = ["derive"]}
2020-08-27 15:33:34 +03:00
sourcemap = {version = "6", optional = true}
string_cache = "0.8.1"
swc_eq_ignore_macros = {version = "0.1", path = "../swc_eq_ignore_macros"}
swc_visit = {version = "0.2.4", path = "../swc_visit"}
2020-08-27 15:33:34 +03:00
termcolor = {version = "1.0", optional = true}
tracing = "0.1.28"
2020-08-27 15:33:34 +03:00
unicode-width = "0.1.4"
url = "2.2.2"
[dev-dependencies]
rayon = "1"
serde_json = "1"