3 releases (breaking)

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

#238 in #futures

Download history 676/week @ 2024-08-25 2993/week @ 2024-09-01 692/week @ 2024-09-08 776/week @ 2024-09-15 844/week @ 2024-09-22 1600/week @ 2024-09-29 702/week @ 2024-10-06 1369/week @ 2024-10-13 1326/week @ 2024-10-20 1054/week @ 2024-10-27 997/week @ 2024-11-03 1346/week @ 2024-11-10 213/week @ 2024-11-17 150/week @ 2024-11-24 141/week @ 2024-12-01 174/week @ 2024-12-08

693 downloads per month
Used in 9 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

~230–680KB
~16K SLoC