3 releases (breaking)
0.5.0 | Aug 11, 2023 |
---|---|
0.4.1 | Feb 17, 2023 |
0.0.0 | Feb 16, 2023 |
#218 in #futures
4,936 downloads per month
Used in 5 crates
(via async-ffi)
14KB
186 lines
async-ffi: FFI-compatible Future
s
Convert your Rust Future
s 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