alef-adapters 0.3.3

FFI adapter pattern generators for alef
Documentation

alef-adapters

FFI adapter pattern generators for alef

Generates glue code for sync_function, async_method, callback_bridge, streaming, and server_lifecycle adapter patterns. Each adapter reads definitions from the [[adapters]] section of alef.toml and produces language-specific implementations that bridge host language callbacks to Rust trait impls. The generated method/function bodies are keyed by type and method name, which backends then splice into their binding code.

Part of the alef polyglot binding generator.

License

MIT