用于 Rust 的 `io_uring` 库
The low-level io_uring userspace interface for Rust.
To use io-uring crate, first add this to your Cargo.toml:
[dependencies]
io-uring = "0.7"
Next we can start using io-uring crate.
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.
You can run the test and benchmark of the library with the following commands.
$ cargo run --package io-uring-test
$ cargo bench --package io-uring-bench
This project is licensed under either of
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.
暂无开放 Issues,或尚未同步最近议题。