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/"
|
2021-12-30 12:59:18 +03:00
|
|
|
edition = "2021"
|
2021-12-01 08:20:52 +03:00
|
|
|
license = "Apache-2.0"
|
2020-08-27 15:33:34 +03:00
|
|
|
name = "swc_common"
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2022-01-07 09:18:26 +03:00
|
|
|
version = "0.16.1"
|
2021-11-02 17:54:20 +03:00
|
|
|
|
2021-11-25 08:16:18 +03:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
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 = []
|
2022-01-04 13:26:17 +03:00
|
|
|
plugin-base = [ "anyhow", "rkyv-impl", "diagnostic-serde"]
|
2021-11-04 13:24:49 +03:00
|
|
|
plugin-mode = ["plugin-base"]
|
|
|
|
plugin-rt = ["plugin-base"]
|
2022-01-02 10:23:37 +03:00
|
|
|
rkyv-impl = ["rkyv"]
|
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-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"]}
|
2022-01-02 06:50:50 +03:00
|
|
|
ast_node = {version = "0.7.5", path = "../ast_node"}
|
2020-08-27 15:33:34 +03:00
|
|
|
atty = {version = "0.2", optional = true}
|
2019-01-17 17:17:16 +03:00
|
|
|
cfg-if = "0.1.2"
|
2021-12-18 18:18:00 +03:00
|
|
|
debug_unreachable = "0.1.1"
|
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"
|
2021-12-29 09:27:51 +03:00
|
|
|
parking_lot = {version = "0.11", optional = true}
|
2022-01-02 10:23:37 +03:00
|
|
|
rkyv = {version = "0.7.28", 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"}
|
2021-12-07 08:34:44 +03:00
|
|
|
swc_visit = {version = "0.3.0", 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"
|