swc/crates/swc_ecma_loader/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

48 lines
1.5 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "General ecmascript loader used for transforms"
documentation = "https://rustdoc.swc.rs/swc_ecma_loader/"
edition = "2021"
license = "Apache-2.0"
name = "swc_ecma_loader"
repository = "https://github.com/swc-project/swc.git"
version = "2.0.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
default = []
cache = ["lru", "parking_lot"]
# Enable node js resolver
node = ["normpath", "serde_json", "dashmap", "once_cell", "path-clean"]
# Enable support for `paths` of tsconfig.json
tsc = ["dashmap", "once_cell", "swc_cached"]
[dependencies]
anyhow = { workspace = true }
dashmap = { workspace = true, optional = true }
lru = { workspace = true, optional = true }
once_cell = { workspace = true, optional = true }
parking_lot = { workspace = true, optional = true }
path-clean = { version = "=0.1.0", optional = true }
pathdiff = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, optional = true }
tracing = { workspace = true }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_cached = { version = "1.0.0", optional = true, path = "../swc_cached" }
swc_common = { version = "2.0.1", path = "../swc_common" }
[dev-dependencies]
lazy_static = { workspace = true }
[target.'cfg(windows)'.dependencies]
normpath = { version = "0.2", optional = true }