2020-05-07 12:17:57 +03:00
|
|
|
[package]
|
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
|
|
description = "wasm module for swc"
|
2021-12-30 12:59:18 +03:00
|
|
|
edition = "2021"
|
2021-11-24 09:07:18 +03:00
|
|
|
license = "Apache-2.0"
|
2022-04-15 16:47:44 +03:00
|
|
|
name = "binding_core_wasm"
|
2021-05-21 09:57:17 +03:00
|
|
|
publish = false
|
2020-09-18 20:07:28 +03:00
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2022-04-09 10:08:03 +03:00
|
|
|
version = "1.2.165"
|
2020-05-07 12:17:57 +03:00
|
|
|
|
|
|
|
[lib]
|
2022-04-04 14:12:03 +03:00
|
|
|
bench = false
|
2020-05-07 12:17:57 +03:00
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
2021-12-12 16:52:58 +03:00
|
|
|
[features]
|
|
|
|
default = ["swc_v1"]
|
|
|
|
swc_v1 = []
|
|
|
|
swc_v2 = []
|
2022-03-16 01:45:40 +03:00
|
|
|
# This feature exists to allow cargo operations
|
|
|
|
plugin = [
|
|
|
|
"swc/plugin",
|
2022-03-23 10:12:59 +03:00
|
|
|
"swc_plugin_runner/memory_cache",
|
2022-03-16 01:45:40 +03:00
|
|
|
"wasmer",
|
|
|
|
"wasmer-wasi",
|
|
|
|
"wasmer/js-default",
|
|
|
|
"wasmer-wasi/js-default",
|
2022-03-25 10:05:26 +03:00
|
|
|
"js-sys",
|
2022-03-16 01:45:40 +03:00
|
|
|
]
|
2021-12-12 16:52:58 +03:00
|
|
|
|
2020-05-07 12:17:57 +03:00
|
|
|
[dependencies]
|
2021-08-13 10:05:40 +03:00
|
|
|
anyhow = "1.0.42"
|
2020-09-18 20:07:28 +03:00
|
|
|
console_error_panic_hook = "0.1.6"
|
2022-04-15 16:47:44 +03:00
|
|
|
js-sys = {version = "0.3.56", optional = true}
|
2022-03-11 17:00:55 +03:00
|
|
|
once_cell = "1.10.0"
|
2022-02-12 08:24:49 +03:00
|
|
|
parking_lot_core = "0.9.1"
|
2020-05-07 12:17:57 +03:00
|
|
|
path-clean = "0.1"
|
2022-04-15 16:47:44 +03:00
|
|
|
serde = {version = "1", features = ["derive"]}
|
2020-09-18 20:07:28 +03:00
|
|
|
serde_json = "1"
|
2022-04-15 16:47:44 +03:00
|
|
|
swc = {path = "../swc"}
|
|
|
|
swc_common = {path = "../swc_common", features = ["perf"]}
|
|
|
|
swc_ecma_lints = {path = "../swc_ecma_lints", features = [
|
2022-03-16 12:58:24 +03:00
|
|
|
"non_critical_lints",
|
2022-04-15 16:47:44 +03:00
|
|
|
]}
|
|
|
|
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}
|