alef-backend-wasm 0.17.35

WASM (wasm-bindgen) backend for alef
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! WebAssembly (wasm-bindgen) binding generator backend for alef.
//!
//! Generates JavaScript-compatible WebAssembly bindings using the wasm-bindgen crate.
//! Supports configurable restriction handling through `WasmConfig`:
//! - `exclude_functions`: Skip generation of specific functions
//! - `exclude_types`: Skip generation of specific types
//! - `type_overrides`: Remap types (e.g., Path → String)

mod gen_bindings;
mod template_env;
pub mod trait_bridge;
mod type_map;

pub use gen_bindings::WasmBackend;