[package]
edition = "2024"
name = "lio-uring"
version = "0.2.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-ready, safe, and ergonomic Rust interface to Linux io_uring"
documentation = "https://docs.rs/lio-uring"
readme = "README.md"
keywords = [
"io_uring",
"async",
"io",
"linux",
]
categories = [
"asynchronous",
"os::linux-apis",
"network-programming",
]
license = "MIT"
repository = "https://github.com/vincent-thomas/lio"
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
]
[lib]
name = "lio_uring"
path = "src/lib.rs"
[[example]]
name = "basic_io"
path = "examples/basic_io.rs"
[[example]]
name = "linked_ops"
path = "examples/linked_ops.rs"
[[example]]
name = "registered_buffers"
path = "examples/registered_buffers.rs"
[[example]]
name = "sqpoll_optimized"
path = "examples/sqpoll_optimized.rs"
[[example]]
name = "tcp_echo"
path = "examples/tcp_echo.rs"
[[test]]
name = "file_ops"
path = "tests/file_ops.rs"
[[test]]
name = "network"
path = "tests/network.rs"
[[test]]
name = "ring"
path = "tests/ring.rs"
[dependencies.libc]
version = "0.2.174"
[dev-dependencies.pastey]
version = "0.2.1"
[build-dependencies.bindgen]
version = "0.72.1"