[[bench]]
harness = false
name = "serde"
[dependencies.ahash]
optional = true
version = "0.8.3"
[dependencies.anyhow]
optional = true
version = "1.0.71"
[dependencies.arbitrary]
features = ["derive"]
optional = true
version = "1"
[dependencies.ast_node]
version = "0.9.5"
[dependencies.atty]
optional = true
version = "0.2"
[dependencies.better_scoped_tls]
version = "0.1.1"
[dependencies.bytecheck]
optional = true
version = "0.6.10"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.either]
version = "1.5"
[dependencies.from_variant]
version = "0.1.6"
[dependencies.new_debug_unreachable]
version = "1.0.4"
[dependencies.num-bigint]
version = "0.4"
[dependencies.once_cell]
version = "1.18.0"
[dependencies.parking_lot]
optional = true
version = "0.12.1"
[dependencies.rkyv]
features = ["strict", "validation"]
optional = true
version = "=0.7.42"
[dependencies.rustc-hash]
version = "1.1.0"
[dependencies.serde]
features = ["derive"]
version = "1.0.119"
[dependencies.siphasher]
version = "0.3.9"
[dependencies.sourcemap]
optional = true
version = "6"
[dependencies.string_cache]
version = "0.8.7"
[dependencies.swc_atoms]
version = "0.5.9"
[dependencies.swc_eq_ignore_macros]
version = "0.1.2"
[dependencies.swc_visit]
version = "0.5.7"
[dependencies.termcolor]
optional = true
version = "1.0"
[dependencies.tracing]
version = "0.1.37"
[dependencies.unicode-width]
version = "0.1.4"
[dependencies.url]
version = "2.4.0"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.rayon]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[features]
__plugin = []
__plugin_mode = []
__plugin_rt = []
__rkyv = []
ahash = ["dep:ahash"]
concurrent = ["parking_lot"]
debug = []
default = []
diagnostic-serde = []
plugin-base = ["__plugin", "anyhow", "rkyv-impl", "diagnostic-serde"]
plugin-mode = ["__plugin_mode", "plugin-base"]
plugin-rt = ["__plugin_rt", "plugin-base"]
plugin_transform_schema_v1 = []
plugin_transform_schema_vtest = []
rkyv-impl = ["__rkyv", "rkyv", "swc_atoms/rkyv-impl", "bytecheck"]
tty-emitter = ["atty", "termcolor"]
[lib]
bench = false
[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Common utilities for the swc project."
documentation = "https://rustdoc.swc.rs/swc_common/"
edition = "2021"
license = "Apache-2.0"
name = "swc_common"
repository = "https://github.com/swc-project/swc.git"
version = "0.31.22"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]