Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oxalica/async-ffi
FFI-compatible futures
https://github.com/oxalica/async-ffi
async ffi rust
Last synced: about 2 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 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-20T22:33:51.000Z (5 months ago)
- Last Synced: 2024-06-21T19:55:17.823Z (3 months ago)
- Topics: async, ffi, rust
- Language: Rust
- Homepage:
- Size: 92.8 KB
- Stars: 142
- Watchers: 4
- Forks: 13
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# async-ffi: FFI-compatible `Future`s
[![crates.io](https://img.shields.io/crates/v/async-ffi)](https://crates.io/crates/async-ffi)
[![docs.rs](https://img.shields.io/docsrs/async-ffi)][docs]
[![CI](https://github.com/oxalica/async-ffi/actions/workflows/ci.yaml/badge.svg)](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.