swc_common 0.37.5

Common utilities for the swc project.
Documentation
[[bench]]
harness = false
name = "serde"
path = "benches/serde.rs"

[dependencies.ahash]
optional = true
version = "0.8.8"

[dependencies.anyhow]
optional = true
version = "1.0.81"

[dependencies.arbitrary]
features = ["derive"]
optional = true
version = "1"

[dependencies.ast_node]
version = "0.9.8"

[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.10.0"

[dependencies.from_variant]
version = "0.1.8"

[dependencies.new_debug_unreachable]
version = "1.0.6"

[dependencies.num-bigint]
version = "0.4.3"

[dependencies.once_cell]
version = "1.19.0"

[dependencies.parking_lot]
optional = true
version = "0.12.1"

[dependencies.rkyv]
features = ["strict", "validation"]
optional = true
version = "=0.7.44"

[dependencies.rustc-hash]
version = "1.1.0"

[dependencies.serde]
features = ["derive"]
version = "1.0.197"

[dependencies.siphasher]
version = "0.3.9"

[dependencies.sourcemap]
optional = true
version = "9.0.0"

[dependencies.swc_allocator]
default-features = false
version = "0.1.7"

[dependencies.swc_atoms]
version = "0.6.5"

[dependencies.swc_eq_ignore_macros]
version = "0.1.3"

[dependencies.swc_visit]
version = "0.6.0"

[dependencies.termcolor]
optional = true
version = "1.0"

[dependencies.tracing]
version = "0.1.40"

[dependencies.unicode-width]
version = "0.1.4"

[dependencies.url]
version = "2.4.0"

[dev-dependencies.codspeed-criterion-compat]
version = "2.6.0"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.rayon]
version = "1.7.0"

[dev-dependencies.serde_json]
version = "1.0.115"

[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 = ["termcolor"]

[lib]
bench = false
name = "swc_common"
path = "src/lib.rs"

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Common utilities for the swc project."
documentation = "https://rustdoc.swc.rs/swc_common/"
edition = "2021"
license = "Apache-2.0"
name = "swc_common"
readme = false
repository = "https://github.com/swc-project/swc.git"
version = "0.37.5"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[[test]]
name = "ast_serde"
path = "tests/ast_serde.rs"

[[test]]
name = "attr_interop"
path = "tests/attr_interop.rs"

[[test]]
name = "concurrent"
path = "tests/concurrent.rs"

[[test]]
name = "empty"
path = "tests/empty.rs"

[[test]]
name = "issue_3159"
path = "tests/issue_3159.rs"

[[test]]
name = "source_map"
path = "tests/source_map.rs"

[[test]]
name = "spanned_attr"
path = "tests/spanned_attr.rs"