swc/crates/swc_common/Cargo.toml
강동윤 (Donny) f1470cf722
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
Publish crates (auto) / Publish cargo crates (push) Waiting to run
chore: Publish crates with swc_core v3.0.1
2024-10-30 11:10:45 +09:00

79 lines
2.7 KiB
TOML

[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 = "2.0.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
__plugin = []
__plugin_mode = []
__plugin_rt = []
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 = []
tty-emitter = ["termcolor"]
__rkyv = []
rkyv-impl = ["__rkyv", "rkyv", "swc_atoms/rkyv-impl", "bytecheck"]
[dependencies]
ahash = { workspace = true, optional = true }
anyhow = { workspace = true, optional = true }
arbitrary = { workspace = true, features = ["derive"], optional = true }
# bytecheck version should be in sync with rkyv version. Do not bump individually.
bytecheck = { workspace = true, optional = true }
cfg-if = { workspace = true }
either = { workspace = true }
new_debug_unreachable = { workspace = true }
num-bigint = { workspace = true }
once_cell = { workspace = true }
parking_lot = { workspace = true, optional = true }
rkyv = { workspace = true, features = ["validation"], optional = true }
rustc-hash = { workspace = true }
serde = { workspace = true, features = ["derive"] }
siphasher = { workspace = true }
sourcemap = { workspace = true, optional = true }
termcolor = { workspace = true, optional = true }
tracing = { workspace = true }
unicode-width = { workspace = true }
url = { workspace = true }
ast_node = { version = "2.0.0", path = "../ast_node" }
better_scoped_tls = { version = "1.0.0", path = "../better_scoped_tls" }
from_variant = { version = "2.0.0", path = "../from_variant" }
swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_eq_ignore_macros = { version = "1.0.0", path = "../swc_eq_ignore_macros" }
swc_visit = { version = "2.0.0", path = "../swc_visit" }
[dev-dependencies]
codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }
rayon = { workspace = true }
serde_json = { workspace = true }
[[bench]]
harness = false
name = "serde"