mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
50 lines
1.4 KiB
TOML
50 lines
1.4 KiB
TOML
[package]
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
description = "wasm module for swc"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
name = "binding_core_wasm"
|
|
publish = false
|
|
repository = "https://github.com/swc-project/swc.git"
|
|
version = "1.2.185"
|
|
|
|
[lib]
|
|
bench = false
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
default = ["swc_v1"]
|
|
swc_v1 = []
|
|
swc_v2 = []
|
|
# This feature exists to allow cargo operations
|
|
plugin = [
|
|
"swc/plugin",
|
|
"swc_plugin_runner/memory_cache",
|
|
"wasmer",
|
|
"wasmer-wasi",
|
|
"wasmer/js-default",
|
|
"wasmer-wasi/js-default",
|
|
"js-sys",
|
|
]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.42"
|
|
console_error_panic_hook = "0.1.6"
|
|
js-sys = { version = "0.3.56", optional = true }
|
|
once_cell = "1.10.0"
|
|
parking_lot_core = "0.9.1"
|
|
path-clean = "0.1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
swc = { path = "../swc" }
|
|
swc_common = { path = "../swc_common", features = ["perf"] }
|
|
swc_ecma_lints = { path = "../swc_ecma_lints", features = [
|
|
"non_critical_lints",
|
|
] }
|
|
swc_ecmascript = { path = "../swc_ecmascript" }
|
|
swc_plugin_runner = { path = "../swc_plugin_runner", default-features = false, optional = true }
|
|
tracing = { version = "0.1.32", features = ["release_max_level_off"] }
|
|
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
|
|
wasmer = { version = "2.2.1", optional = true, default-features = false }
|
|
wasmer-wasi = { version = "2.2.1", optional = true, default-features = false }
|