async-ffi
async-ffi copied to clipboard
FFI-compatible futures
Adds a Github Action for building and testing the code on every `push` event
It'd be pretty nice to have a procedural macro that adds the boilerplate automatically. Instead of: ```rust use async_ffi::{FfiFuture, FutureExt}; #[no_mangle] pub extern "C" fn work(arg: u32) -> FfiFuture {...
Great library! I'm using this for FFI-safe `Stream`s and it was very easy to build based on your work. FFI streams are very similar to futures: ```rust #[repr(C)] pub struct...
This is pretty self explanatory, would be nice to be able to use it with functions that use `self` EDIT: This is kinda needed as all `abi_stable` methods in traits...
- Only `FfiWakerBase` is used by vtable functions (as it's the stable ABI) - In general, the pointer isn't guaranteed to (and is expected, at times, not to) point to...