5 releases

0.1.0 Dec 27, 2019
0.0.5 Nov 9, 2019
0.0.3 Oct 24, 2019

#1855 in Asynchronous

31 downloads per month

MIT/Apache

81KB
2K SLoC

Linux IO Uring

The io_uring library for Rust.

Safety

All APIs are safe except for pushing entries into submission queue. This means that the developer must ensure that entry is valid, otherwise it will cause UB.

I am trying to develop a proactor library to provide a safety abstraction.

Why Rust ?

I don't think it needs a special reason.

The io_uring api design is so simple and elegant that implementing the new io_uring library is not much more complicated than wrapping liburing.

This has some advantages over wrapping c library, it have more freedom (see concurrent mod), and it can be easier to static link.

License

This project is licensed under either of

at your option.


lib.rs:

The io_uring library for Rust.

The crate only provides a summary of the parameters. For more detailed documentation, see manpage.

Dependencies

~50–520KB