oxalica / async-ffi

FFI-compatible futures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

async-ffi: FFI-compatible Futures

crates.io docs.rs CI

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.

About

FFI-compatible futures

License:MIT License


Languages

Language:Rust 85.1%Language:C 12.0%Language:Makefile 2.9%