oden/third-party/vendor/swc_ecma_loader/Cargo.toml
2024-03-08 11:03:01 -08:00

100 lines
1.9 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_ecma_loader"
version = "0.44.2"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "General ecmascript loader used for transforms"
documentation = "https://rustdoc.swc.rs/swc_ecma_loader/"
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
[dependencies.anyhow]
version = "1.0.71"
[dependencies.dashmap]
version = "5.4.0"
optional = true
[dependencies.lru]
version = "0.10.0"
optional = true
[dependencies.once_cell]
version = "1.18.0"
optional = true
[dependencies.parking_lot]
version = "0.12.1"
optional = true
[dependencies.path-clean]
version = "=0.1.0"
optional = true
[dependencies.pathdiff]
version = "0.2.1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.64"
optional = true
[dependencies.swc_cached]
version = "0.3.17"
optional = true
[dependencies.swc_common]
version = "0.32.0"
[dependencies.tracing]
version = "0.1.37"
[dev-dependencies.lazy_static]
version = "1.4.0"
[features]
cache = [
"lru",
"parking_lot",
]
default = []
node = [
"normpath",
"serde_json",
"dashmap",
"once_cell",
"path-clean",
]
tsc = [
"dashmap",
"once_cell",
"swc_cached",
]
[target."cfg(windows)".dependencies.normpath]
version = "0.2"
optional = true