-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add c api support #506
Comments
👋 Thanks for opening this issue! Get help or engage by:
|
Been through this in a different place, since openraft is heavily async it will translate extremely poorly to c-land |
wrapper it with struct like https://github.com/datastax/cpp-driver future will be a option. |
The problem is that futures in rust and c are very differently implemented you can't just take a rust future and run it in a c asynchronous runtime (or vice versa) |
Is is possible to wrapper rust future with C struct and pass into libuv envet loop (or uv_async_t)? |
please consider add c api header file support, so it can be used as https://github.com/canonical/raft replacement.
The text was updated successfully, but these errors were encountered: