https://github.com/oxalica/async-ffi
FFI-compatible futures
https://github.com/oxalica/async-ffi
async ffi rust
Last synced: 5 months ago
JSON representation
FFI-compatible futures
- Host: GitHub
- URL: https://github.com/oxalica/async-ffi
- Owner: oxalica
- License: mit
- Created: 2021-03-29T17:34:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-28T18:14:38.000Z (10 months ago)
- Last Synced: 2025-05-15T00:46:53.459Z (5 months ago)
- Topics: async, ffi, rust
- Language: Rust
- Homepage:
- Size: 95.7 KB
- Stars: 163
- Watchers: 3
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# async-ffi: FFI-compatible `Future`s
[](https://crates.io/crates/async-ffi)
[][docs]
[](https://github.com/oxalica/async-ffi/actions/workflows/ci.yaml)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][docs] for more details.
See [`link_tests`](link_tests) directory for cross-linking examples.
[docs]: https://docs.rs/async-ffi
#### License
MIT Licensed.