swc/crates/swc_common/Cargo.toml

67 lines
1.9 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/"
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-07-09 06:49:46 +03:00
version = "0.22.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
concurrent = ["parking_lot"]
debug = []
default = []
diagnostic-serde = []
perf = ["parking_lot"]
plugin-base = ["anyhow", "rkyv-impl", "diagnostic-serde"]
plugin-mode = ["plugin-base"]
plugin-rt = ["plugin-base"]
rkyv-impl = ["rkyv", "bytecheck"]
2020-08-27 15:33:34 +03:00
tty-emitter = ["atty", "termcolor"]
2017-12-22 15:51:36 +03:00
[dependencies]
ahash = "0.7.4"
anyhow = { version = "1.0.45", optional = true }
arbitrary = { version = "1", optional = true, features = ["derive"] }
2022-07-01 06:28:49 +03:00
ast_node = { version = "0.8.1", path = "../ast_node" }
atty = { version = "0.2", optional = true }
better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" }
bytecheck = { version = "0.6.8", optional = true }
2022-03-11 17:00:55 +03:00
cfg-if = "1.0.0"
debug_unreachable = "0.1.1"
2020-08-27 15:33:34 +03:00
either = "1.5"
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"
parking_lot = { version = "0.12.0", optional = true }
2022-06-28 21:29:00 +03:00
rkyv = { version = "0.7.39", optional = true }
rustc-hash = "1.1.0"
serde = { version = "1.0.119", features = ["derive"] }
siphasher = "0.3.9"
sourcemap = { version = "6", optional = true }
string_cache = "0.8.4"
2022-06-29 15:02:33 +03:00
swc_atoms = { version = "0.2.12", path = "../swc_atoms" }
swc_eq_ignore_macros = { version = "0.1", path = "../swc_eq_ignore_macros" }
2022-07-05 08:17:30 +03:00
swc_visit = { version = "0.3.2", path = "../swc_visit" }
termcolor = { version = "1.0", optional = true }
tracing = "0.1.32"
2020-08-27 15:33:34 +03:00
unicode-width = "0.1.4"
url = "2.2.2"
[dev-dependencies]
criterion = "0.3"
rayon = "1"
serde_json = "1"
[[bench]]
harness = false
name = "serde"