Skip to main content

Crate bitwarden_state_bridge_macro

Crate bitwarden_state_bridge_macro 

Source
Expand description

Proc macro for generating the key-management state bridge surface.

Provides the state_bridge! function-like macro that, from a list of typed fields, expands into the StateBridgeImpl trait, wrapper methods on StateBridge and StateBridgeClient, WASM extern bindings, the WasmStateBridge trait impl, and the matching TypeScript interface.

Macrosยง

state_bridge
Generates the full state bridge surface for a fixed list of fields.