Linux IO Uring
io_uring userspace interface for Rust.
io-uring crate, first add this to your
Next we can start using
The following is quick introduction using
Read for file.
Note that opcode
Read is only available after kernel 5.6.
If you use a kernel lower than 5.6, this example will fail.
Test and Benchmarks
You can run the test and benchmark of the library with the following commands.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or #404)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in io-uring by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.