swc/crates/binding_macros/Cargo.toml

53 lines
1.7 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"
2023-06-12 05:24:36 +03:00
version = "0.50.43"
[lib]
bench = false
[features]
binding_native = []
binding_wasm = [
# SWC features
"swc",
"swc_common",
"swc_ecma_transforms",
"swc_ecma_ast",
"swc_ecma_visit",
# Optional packages
"once_cell",
"wasm-bindgen",
"wasm-bindgen-futures",
"js-sys",
"serde",
"serde-wasm-bindgen",
"anyhow",
"console_error_panic_hook",
]
[dependencies]
# Common deps for the SWC imports
2023-06-12 05:24:36 +03:00
swc = { optional = true, version = "0.261.43", path = "../swc" }
2023-05-30 08:18:06 +03:00
swc_common = { optional = true, version = "0.31.12", path = "../swc_common" }
swc_ecma_ast = { optional = true, version = "0.104.5", path = "../swc_ecma_ast" }
2023-06-12 05:24:36 +03:00
swc_ecma_transforms = { optional = true, version = "0.218.26", path = "../swc_ecma_transforms" }
2023-05-30 08:18:06 +03:00
swc_ecma_visit = { optional = true, version = "0.90.5", path = "../swc_ecma_visit" }
# 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" }
serde = { optional = true, version = "1", features = ["derive"] }
serde-wasm-bindgen = { optional = true, version = "0.4.5" }
wasm-bindgen = { optional = true, version = "0.2.82", features = [
"enable-interning",
] }
wasm-bindgen-futures = { optional = true, version = "0.4.32" }