async-ffi

FFI-compatible futures

MIT License

Downloads
300.9K
Stars
151

async-ffi: FFI-compatible Futures

Convert your Rust Futures into a FFI-compatible struct without relying unstable Rust ABI and struct layout. Easily provide async functions in dynamic library maybe compiled with different Rust than the invoker.

See documentation for more details.

See link_tests directory for cross-linking examples.

License

MIT Licensed.