2017-12-22 15:51:36 +03:00
|
|
|
[package]
|
2019-10-25 04:11:24 +03:00
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
2018-11-18 08:00:07 +03:00
|
|
|
description = "Common utilities for the swc project."
|
2021-03-31 07:09:10 +03:00
|
|
|
documentation = "https://rustdoc.swc.rs/swc_common/"
|
2019-11-17 07:21:53 +03:00
|
|
|
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"
|
2021-11-09 12:46:24 +03:00
|
|
|
version = "0.14.6"
|
2021-11-02 17:54:20 +03:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["lib", "dylib"]
|
2017-12-22 15:51:36 +03:00
|
|
|
|
2020-07-31 12:49:07 +03:00
|
|
|
[features]
|
2020-08-03 19:33:23 +03:00
|
|
|
concurrent = ["parking_lot"]
|
2021-09-27 12:19:15 +03:00
|
|
|
debug = []
|
2020-07-31 12:49:07 +03:00
|
|
|
default = []
|
2021-11-04 13:24:49 +03:00
|
|
|
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"]
|
2020-07-31 12:49:07 +03:00
|
|
|
|
2017-12-22 15:51:36 +03:00
|
|
|
[dependencies]
|
2021-11-04 13:24:49 +03:00
|
|
|
abi_stable = {version = "0.10.3", optional = true}
|
2021-08-14 13:33:16 +03:00
|
|
|
ahash = "0.7.4"
|
2021-11-04 13:24:49 +03:00
|
|
|
anyhow = {version = "1.0.45", optional = true}
|
2021-06-25 08:40:51 +03:00
|
|
|
arbitrary = {version = "1", optional = true, features = ["derive"]}
|
2021-11-10 10:39:01 +03:00
|
|
|
ast_node = {version = "0.7.3", path = "../ast_node"}
|
2020-08-27 15:33:34 +03:00
|
|
|
atty = {version = "0.2", optional = true}
|
2021-11-04 13:24:49 +03:00
|
|
|
bincode = {version = "1.3.3", optional = true}
|
2019-01-17 17:17:16 +03:00
|
|
|
cfg-if = "0.1.2"
|
2020-08-27 15:33:34 +03:00
|
|
|
either = "1.5"
|
2021-11-10 10:39:01 +03:00
|
|
|
from_variant = {version = "0.1.3", path = "../from_variant"}
|
2020-12-27 07:11:44 +03:00
|
|
|
num-bigint = "0.2"
|
2020-08-27 15:33:34 +03:00
|
|
|
once_cell = "1"
|
2020-08-03 19:33:23 +03:00
|
|
|
owning_ref = "0.4"
|
2020-08-27 15:33:34 +03:00
|
|
|
parking_lot = {version = "0.7.1", optional = true}
|
2021-09-27 12:19:15 +03:00
|
|
|
rustc-hash = "1.1.0"
|
2021-10-31 14:41:36 +03:00
|
|
|
scoped-tls = "1"
|
2021-01-12 15:59:42 +03:00
|
|
|
serde = {version = "1.0.119", features = ["derive"]}
|
2020-08-27 15:33:34 +03:00
|
|
|
sourcemap = {version = "6", optional = true}
|
2020-12-27 07:11:44 +03:00
|
|
|
string_cache = "0.8.1"
|
2021-11-10 10:39:01 +03:00
|
|
|
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}
|
2021-09-27 12:19:15 +03:00
|
|
|
tracing = "0.1.28"
|
2020-08-27 15:33:34 +03:00
|
|
|
unicode-width = "0.1.4"
|
2021-09-03 07:55:31 +03:00
|
|
|
url = "2.2.2"
|
2020-01-15 12:00:08 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-02-18 06:27:13 +03:00
|
|
|
rayon = "1"
|
2020-02-29 04:29:34 +03:00
|
|
|
serde_json = "1"
|