2020-05-07 12:17:57 +03:00
|
|
|
[package]
|
2022-08-03 13:25:28 +03:00
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
2020-05-07 12:17:57 +03:00
|
|
|
description = "wasm module for swc"
|
2022-08-03 13:25:28 +03:00
|
|
|
edition = "2021"
|
|
|
|
license = "Apache-2.0"
|
|
|
|
name = "binding_core_wasm"
|
|
|
|
publish = false
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2022-08-06 13:06:06 +03:00
|
|
|
version = "1.2.224"
|
2020-05-07 12:17:57 +03:00
|
|
|
|
|
|
|
[lib]
|
2022-08-03 13:25:28 +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"]
|
2022-08-03 13:25:28 +03:00
|
|
|
swc_v1 = []
|
|
|
|
swc_v2 = []
|
2022-03-16 01:45:40 +03:00
|
|
|
# This feature exists to allow cargo operations
|
2022-08-05 08:11:40 +03:00
|
|
|
plugin = ["swc_core/plugin_transform_host_js"]
|
2021-12-12 16:52:58 +03:00
|
|
|
|
2020-05-07 12:17:57 +03:00
|
|
|
[dependencies]
|
2022-07-30 06:44:37 +03:00
|
|
|
anyhow = "1.0.58"
|
|
|
|
console_error_panic_hook = "0.1.7"
|
2022-08-01 06:00:28 +03:00
|
|
|
js-sys = { version = "0.3.59" }
|
2022-07-30 06:44:37 +03:00
|
|
|
once_cell = "1.13.0"
|
|
|
|
parking_lot_core = "0.9.3"
|
|
|
|
path-clean = "0.1.0"
|
|
|
|
serde = { version = "1.0.140", features = ["derive"] }
|
|
|
|
serde_json = "1.0.82"
|
2022-08-05 08:11:40 +03:00
|
|
|
swc_core = { path = "../swc_core", features = [
|
|
|
|
"ast",
|
|
|
|
"common",
|
|
|
|
"common_perf",
|
|
|
|
"base",
|
|
|
|
] }
|
2022-07-30 06:44:37 +03:00
|
|
|
tracing = { version = "0.1.35", features = ["release_max_level_off"] }
|
2022-08-01 05:32:33 +03:00
|
|
|
wasm-bindgen = { version = "0.2.82", features = [
|
|
|
|
"serde-serialize",
|
|
|
|
"enable-interning",
|
|
|
|
] }
|
2022-08-01 06:00:28 +03:00
|
|
|
wasm-bindgen-futures = "0.4.32"
|
2022-05-31 06:07:51 +03:00
|
|
|
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
|
|
wasm-opt = false
|