Cargo Features

binding_macros has no features set by default.

[dependencies]
binding_macros = { version = "0.65.1", features = ["binding_native", "binding_wasm"] }
binding_native
binding_wasm = anyhow, console_error_panic_hook, js-sys, once_cell, serde, serde-wasm-bindgen, swc, swc_common, swc_ecma_ast, swc_ecma_transforms, swc_ecma_visit, wasm-bindgen, wasm-bindgen-futures

Affects binding_macros::wasm

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

swc binding_wasm?

Enables swc

Common deps for the SWC imports

swc_common binding_wasm?
swc_ecma_ast binding_wasm?
swc_ecma_transforms binding_wasm?
swc_ecma_visit binding_wasm?
anyhow binding_wasm?

Enables anyhow

Optional deps for the wasm binding macro

console_error_panic_hook binding_wasm?
js-sys binding_wasm?
once_cell binding_wasm?
serde binding_wasm?
serde-wasm-bindgen binding_wasm?

Enables serde-wasm-bindgen ^0.4.5

wasm-bindgen binding_wasm?
wasm-bindgen-futures binding_wasm?