3 releases (breaking)

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

#218 in #futures

Download history 1133/week @ 2024-07-22 841/week @ 2024-07-29 1373/week @ 2024-08-05 599/week @ 2024-08-12 1017/week @ 2024-08-19 683/week @ 2024-08-26 2997/week @ 2024-09-02 692/week @ 2024-09-09 762/week @ 2024-09-16 858/week @ 2024-09-23 1592/week @ 2024-09-30 798/week @ 2024-10-07 1267/week @ 2024-10-14 1330/week @ 2024-10-21 1052/week @ 2024-10-28 1179/week @ 2024-11-04

4,936 downloads per month
Used in 5 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

~225–670KB
~16K SLoC