swc/crates/binding_macros/Cargo.toml

48 lines
1.4 KiB
TOML
Raw Normal View History

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>", "OJ Kwon <kwon.ohjoong@gmail.com>"]
description = "Macros to build customized bindings interface"
edition = "2021"
license = "Apache-2.0"
name = "binding_macros"
repository = "https://github.com/swc-project/swc.git"
2022-09-16 05:47:08 +03:00
version = "0.14.29"
[lib]
bench = false
[features]
binding_native = []
binding_wasm = [
# SWC features
"swc",
"swc_common",
"swc_ecma_transforms",
"swc_ecma_ast",
# Optional packages
"once_cell",
"wasm-bindgen",
"wasm-bindgen-futures",
"js-sys",
"anyhow",
"console_error_panic_hook",
]
[dependencies]
# Common deps for the SWC imports
2022-09-16 05:47:08 +03:00
swc = { optional = true, version = "0.226.29", path = "../swc" }
2022-09-15 09:08:07 +03:00
swc_common = { optional = true, version = "0.28.7", path = "../swc_common" }
swc_ecma_ast = { optional = true, version = "0.91.7", path = "../swc_ecma_ast" }
2022-09-15 17:49:03 +03:00
swc_ecma_transforms = { optional = true, version = "0.193.22", path = "../swc_ecma_transforms" }
# Optional deps for the wasm binding macro
anyhow = { optional = true, version = "1.0.58" }
console_error_panic_hook = { optional = true, version = "0.1.7" }
js-sys = { optional = true, version = "0.3.59" }
once_cell = { optional = true, version = "1.13.0" }
wasm-bindgen = { optional = true, version = "0.2.82", features = [
"serde-serialize",
"enable-interning",
] }
wasm-bindgen-futures = { optional = true, version = "0.4.32" }