swc/crates/swc_cli_impl/Cargo.toml
2024-11-04 10:41:37 +09:00

51 lines
1.5 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>", "OJ Kwon <kwon.ohjoong@gmail.com>"]
description = "Commandline for SWC (Internal crate with implementation)"
edition = "2021"
include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_cli_impl"
repository = "https://github.com/swc-project/swc.git"
version = "4.0.0"
[[bin]]
name = "swc"
path = "src/main.rs"
[lib]
crate-type = ["rlib"]
path = "src/lib.rs"
[features]
default = []
plugin = [
"swc_core/plugin_transform_host_native",
"swc_core/plugin_transform_host_native_filesystem_cache",
]
[dependencies]
anyhow = { workspace = true }
clap = { version = "3.2.25", features = ["derive", "wrap_help"] }
glob = { workspace = true }
path-absolutize = { workspace = true, features = ["once_cell_cache"] }
rayon = { workspace = true }
relative-path = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["unbounded_depth"] }
sourcemap = { workspace = true }
tracing = { workspace = true }
tracing-chrome = { workspace = true }
tracing-futures = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
walkdir = { workspace = true }
swc_core = { version = "4.0.3", features = [
"trace_macro",
"common_concurrent",
"base_concurrent",
], path = "../swc_core" }
[dev-dependencies]
assert_cmd = { workspace = true }
assert_fs = { workspace = true }