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-05-23 21:13:24 +03:00
|
|
|
version = "0.18.7"
|
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"]
|
|
|
|
|
2022-04-04 14:12:03 +03:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
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-03-12 10:15:12 +03:00
|
|
|
perf = ["parking_lot"]
|
2022-02-17 11:11:46 +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"
|
2022-04-04 14:12:03 +03:00
|
|
|
anyhow = {version = "1.0.45", optional = true}
|
|
|
|
arbitrary = {version = "1", optional = true, features = ["derive"]}
|
|
|
|
ast_node = {version = "0.7.5", path = "../ast_node"}
|
|
|
|
atty = {version = "0.2", optional = true}
|
|
|
|
better_scoped_tls = {version = "0.1.0", path = "../better_scoped_tls"}
|
2022-03-11 17:00:55 +03:00
|
|
|
cfg-if = "1.0.0"
|
2021-12-18 18:18:00 +03:00
|
|
|
debug_unreachable = "0.1.1"
|
2020-08-27 15:33:34 +03:00
|
|
|
either = "1.5"
|
2022-04-04 14:12:03 +03:00
|
|
|
from_variant = {version = "0.1.3", path = "../from_variant"}
|
2022-03-11 17:00:55 +03:00
|
|
|
num-bigint = "0.4"
|
|
|
|
once_cell = "1.10.0"
|
2022-04-04 14:12:03 +03:00
|
|
|
parking_lot = {version = "0.12.0", optional = true}
|
2022-04-19 08:25:44 +03:00
|
|
|
rkyv = { version = "0.7.37", optional = true }
|
2021-09-27 12:19:15 +03:00
|
|
|
rustc-hash = "1.1.0"
|
2022-04-04 14:12:03 +03:00
|
|
|
serde = {version = "1.0.119", features = ["derive"]}
|
2022-01-18 05:29:53 +03:00
|
|
|
siphasher = "0.3.9"
|
2022-04-04 14:12:03 +03:00
|
|
|
sourcemap = {version = "6", optional = true}
|
2022-03-28 09:49:30 +03:00
|
|
|
string_cache = "0.8.4"
|
2022-04-04 14:12:03 +03:00
|
|
|
swc_eq_ignore_macros = {version = "0.1", path = "../swc_eq_ignore_macros"}
|
|
|
|
swc_visit = {version = "0.3.0", path = "../swc_visit"}
|
|
|
|
termcolor = {version = "1.0", optional = true}
|
2022-03-10 06:15:49 +03:00
|
|
|
tracing = "0.1.32"
|
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]
|
2022-04-03 18:56:29 +03:00
|
|
|
criterion = "0.3"
|
2020-02-18 06:27:13 +03:00
|
|
|
rayon = "1"
|
2020-02-29 04:29:34 +03:00
|
|
|
serde_json = "1"
|
2022-04-03 18:56:29 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
|
|
|
name = "serde"
|