swc/bindings/binding_core_wasm/Cargo.toml

38 lines
867 B
TOML
Raw Normal View History

2020-05-07 12:17:57 +03:00
[package]
2022-09-10 17:05:27 +03:00
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
2020-05-07 12:17:57 +03:00
description = "wasm module for swc"
2022-09-10 17:05:27 +03:00
edition = "2021"
license = "Apache-2.0"
name = "binding_core_wasm"
publish = false
repository = "https://github.com/swc-project/swc.git"
2022-11-13 15:29:54 +03:00
version = "1.3.16"
2020-05-07 12:17:57 +03:00
[lib]
2022-09-10 17:05:27 +03:00
bench = false
2020-05-07 12:17:57 +03:00
crate-type = ["cdylib"]
[features]
default = ["swc_v1"]
2022-09-10 17:05:27 +03:00
swc_v1 = []
swc_v2 = []
# This feature exists to allow cargo operations
plugin = ["swc_core/plugin_transform_host_js"]
2020-05-07 12:17:57 +03:00
[dependencies]
2022-11-02 07:53:22 +03:00
anyhow = "1.0.66"
2022-11-13 15:29:54 +03:00
swc_core = { version = "0.43.3", features = [
"common_perf",
"binding_macro_wasm",
"ecma_transforms",
"ecma_visit",
2022-09-10 17:05:27 +03:00
] }
2022-11-02 07:53:22 +03:00
tracing = { version = "0.1.37", features = ["max_level_off"] }
2022-09-10 17:05:27 +03:00
wasm-bindgen = { version = "0.2.82", features = [
2022-11-15 07:50:53 +03:00
"serde-serialize",
"enable-interning",
2022-09-10 17:05:27 +03:00
] }
2022-05-31 06:07:51 +03:00
[package.metadata.wasm-pack.profile.release]
wasm-opt = false