-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support libuv 1.9.1 #2
Conversation
I actually don't have a current need for this project, due to changing plans in the place I originally wanted it for. If you're going to be an active user of it and want to take over, I'll happily give GitHub or Cargo access as necessary. |
I'm not sure yet how involved I'll be. I'm sort of just evaluating it now and trying to figure out how to make a more Rust-y API on top of it. It might get used for the duktape version of nucleus, as the core of it gets converted to Rust. |
I'll try and use this. If it works out, I won't mind taking ownership. |
I'm happy to help out with maintenance, once a solid abstract API is figured out. I don't have the time to build the whole abstract API myself though. 😸 |
I'm still new to rust. How exactly do I use this? I know the libuv API in C pretty well having used it in half a dozen projects and this source looks like a rust header calling describing the ffi interface to a subset of libuv. Do you have a simple example or something like a TCP echo server? |
It works largely the same as the C API, at this level. All the functions are in the same module namespace. You need to use C types via the |
I wouldn't mind trying to do the high-level API if there's interest. |
@sorear go for it. I'm not getting to that any time soon it appears. |
I made some updates to support libuv 1.9.1.