swc/crates/swc_compiler_base/Cargo.toml
2024-10-31 10:32:48 +09:00

49 lines
1.7 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Base crate for the 'swc' crate. This is not a public API."
documentation = "https://rustdoc.swc.rs/swc_compiler_base/"
edition = "2021"
include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_compiler_base"
repository = "https://github.com/swc-project/swc.git"
version = "3.0.0"
[features]
node = ["napi", "napi-derive"]
[dependencies]
anyhow = { workspace = true }
base64 = { workspace = true }
once_cell = { workspace = true }
pathdiff = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
sourcemap = { workspace = true }
swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "2.0.1", path = "../swc_common", features = [
"sourcemap",
] }
swc_config = { version = "1.0.0", path = "../swc_config" }
swc_ecma_ast = { version = "2.0.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "2.0.0", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "3.0.0", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "3.0.1", path = "../swc_ecma_parser" }
swc_ecma_visit = { version = "2.0.0", path = "../swc_ecma_visit" }
swc_timer = { version = "1.0.0", path = "../swc_timer" }
[dependencies.napi-derive]
default-features = false
features = ["type-def"]
optional = true
workspace = true
[dependencies.napi]
default-features = false
features = ["napi3"]
optional = true
workspace = true