[package]
edition = "2024"
name = "ringline"
version = "0.1.2"
authors = ["Brian Martin <brayniac@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async I/O runtime with io_uring (Linux) and mio (cross-platform) backends"
readme = "README.md"
keywords = [
"io-uring",
"async",
"networking",
"event-loop",
]
categories = [
"asynchronous",
"network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/brayniac/ringline"
resolver = "2"
[features]
force-mio = []
timestamps = []
[lib]
name = "ringline"
path = "src/lib.rs"
[[example]]
name = "connect_echo"
path = "examples/connect_echo.rs"
[[example]]
name = "echo_async_server"
path = "examples/echo_async_server.rs"
[[example]]
name = "echo_bench"
path = "examples/echo_bench.rs"
[[example]]
name = "echo_client"
path = "examples/echo_client.rs"
[[example]]
name = "echo_stream_server"
path = "examples/echo_stream_server.rs"
[[example]]
name = "echo_tls_server"
path = "examples/echo_tls_server.rs"
[[test]]
name = "blocking"
path = "tests/blocking.rs"
[[test]]
name = "direct_io"
path = "tests/direct_io.rs"
[[test]]
name = "echo"
path = "tests/echo.rs"
[[test]]
name = "fs"
path = "tests/fs.rs"
[[test]]
name = "process"
path = "tests/process.rs"
[[test]]
name = "stream_echo"
path = "tests/stream_echo.rs"
[[test]]
name = "tls_echo"
path = "tests/tls_echo.rs"
[dependencies.bytes]
version = "1"
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.futures-io]
version = "0.3"
[dependencies.libc]
version = "0.2"
[dependencies.metriken]
version = "0.9"
[dependencies.mio]
version = "1"
features = [
"os-poll",
"net",
"os-ext",
]
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.rustls]
version = "0.23"
features = [
"std",
"ring",
]
default-features = false
[dependencies.thiserror]
version = "2"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.futures-io]
version = "0.3"
[dev-dependencies.futures-util]
version = "0.3"
features = ["io"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rcgen]
version = "0.13"
[dev-dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
"tls12",
]
default-features = false
[dev-dependencies.rustls-pki-types]
version = "1"
[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.7"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(has_io_uring)"]