3 releases (breaking)

0.5.0 Aug 11, 2023
0.4.1 Feb 17, 2023
0.0.0 Feb 16, 2023

#755 in #future

Download history 49/week @ 2024-01-02 1/week @ 2024-01-16 346/week @ 2024-01-23 413/week @ 2024-01-30 189/week @ 2024-02-06 204/week @ 2024-02-13 525/week @ 2024-02-20 820/week @ 2024-02-27 591/week @ 2024-03-05 994/week @ 2024-03-12 743/week @ 2024-03-19 437/week @ 2024-03-26 487/week @ 2024-04-02 686/week @ 2024-04-09 464/week @ 2024-04-16

2,228 downloads per month
Used in 4 crates (via async-ffi)

MIT license

14KB
186 lines

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.


lib.rs:

Helper macros for async_ffi::FfiFuture.

Dependencies

~320–770KB
~18K SLoC