176 lines
3 KiB
TOML
176 lines
3 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
name = "swc_common"
|
|
version = "0.32.0"
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
description = "Common utilities for the swc project."
|
|
documentation = "https://rustdoc.swc.rs/swc_common/"
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/swc-project/swc.git"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[[bench]]
|
|
name = "serde"
|
|
harness = false
|
|
|
|
[dependencies.ahash]
|
|
version = "0.8.3"
|
|
optional = true
|
|
|
|
[dependencies.anyhow]
|
|
version = "1.0.71"
|
|
optional = true
|
|
|
|
[dependencies.arbitrary]
|
|
version = "1"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.ast_node]
|
|
version = "0.9.5"
|
|
|
|
[dependencies.atty]
|
|
version = "0.2"
|
|
optional = true
|
|
|
|
[dependencies.better_scoped_tls]
|
|
version = "0.1.1"
|
|
|
|
[dependencies.bytecheck]
|
|
version = "0.6.10"
|
|
optional = true
|
|
|
|
[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]
|
|
version = "0.12.1"
|
|
optional = true
|
|
|
|
[dependencies.rkyv]
|
|
version = "=0.7.42"
|
|
features = [
|
|
"strict",
|
|
"validation",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.rustc-hash]
|
|
version = "1.1.0"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.119"
|
|
features = ["derive"]
|
|
|
|
[dependencies.siphasher]
|
|
version = "0.3.9"
|
|
|
|
[dependencies.sourcemap]
|
|
version = "6"
|
|
optional = true
|
|
|
|
[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]
|
|
version = "1.0"
|
|
optional = true
|
|
|
|
[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",
|
|
]
|