Expand description
Utilities for FFI bindings (WASM, UniFFI).
Re-exports proc macros from bitwarden-ffi-macro.
Attribute Macrosยง
- wasm_
export - Exports an impl block or a free function to JavaScript, in place of
#[cfg_attr(feature = "wasm", wasm_bindgen(..))]. - wasm_
object - Declares a type that crosses the wasm ABI as an opaque handle, in place of
#[cfg_attr(feature = "wasm", wasm_bindgen(..))]on a struct or an enum. - wasm_
record - Declares a type that crosses the wasm ABI through serde, in place of
#[cfg_attr(feature = "wasm", derive(Tsify), tsify(into_wasm_abi, from_wasm_abi))].