2020-05-07 12:17:57 +03:00
|
|
|
[package]
|
2023-02-01 03:36:55 +03:00
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
2020-05-07 12:17:57 +03:00
|
|
|
description = "wasm module for swc"
|
2023-02-01 03:36:55 +03:00
|
|
|
edition = "2021"
|
|
|
|
license = "Apache-2.0"
|
|
|
|
name = "binding_core_wasm"
|
|
|
|
publish = false
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2023-02-10 08:01:14 +03:00
|
|
|
version = "1.3.35"
|
2020-05-07 12:17:57 +03:00
|
|
|
|
|
|
|
[lib]
|
2023-02-01 03:36:55 +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"]
|
2023-02-01 03:36:55 +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-11-02 07:53:22 +03:00
|
|
|
anyhow = "1.0.66"
|
2023-02-01 03:36:55 +03:00
|
|
|
serde = {version = "1", features = ["derive"]}
|
2022-11-15 08:48:57 +03:00
|
|
|
serde-wasm-bindgen = "0.4.5"
|
2023-02-10 08:01:14 +03:00
|
|
|
swc_core = {version = "0.59.26", features = [
|
2022-08-05 08:11:40 +03:00
|
|
|
"common_perf",
|
2022-08-10 06:10:19 +03:00
|
|
|
"binding_macro_wasm",
|
2022-10-11 14:49:30 +03:00
|
|
|
"ecma_transforms",
|
|
|
|
"ecma_visit",
|
2023-02-01 03:36:55 +03:00
|
|
|
]}
|
|
|
|
tracing = {version = "0.1.37", features = ["max_level_off"]}
|
|
|
|
wasm-bindgen = {version = "0.2.82", features = ["enable-interning"]}
|
2022-05-31 06:07:51 +03:00
|
|
|
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
|
|
wasm-opt = false
|