runite 0.1.0

An event-loop-per-thread async runtime built on io_uring (Linux), kqueue (macOS), and IOCP (Windows)
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "runite"
version = "0.1.0"
build = false
exclude = [
    "/.github",
    "/.claude",
    "/target",
    "/cop-checks",
    "/xtask",
    "/docs",
    "mise.toml",
    "mise.lock",
    "rust-toolchain.toml",
    "AGENTS.md",
    "deny.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An event-loop-per-thread async runtime built on io_uring (Linux), kqueue (macOS), and IOCP (Windows)"
homepage = "https://github.com/willmtemple/runite"
documentation = "https://docs.rs/runite"
readme = "README.md"
keywords = [
    "async",
    "runtime",
    "io_uring",
    "executor",
    "event-loop",
]
categories = [
    "asynchronous",
    "concurrency",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/willmtemple/runite"

[package.metadata.docs.rs]
all-features = true
targets = [
    "x86_64-unknown-linux-gnu",
    "aarch64-apple-darwin",
    "x86_64-pc-windows-msvc",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
futures-compat = ["dep:futures-io"]
hyper = ["dep:hyper"]

[lib]
name = "runite"
path = "src/lib.rs"

[[example]]
name = "async_fs_showcase"
path = "examples/async_fs_showcase.rs"

[[example]]
name = "background_workers"
path = "examples/background_workers.rs"

[[example]]
name = "broadcast_watch"
path = "examples/broadcast_watch.rs"

[[example]]
name = "build_pipeline"
path = "examples/build_pipeline.rs"

[[example]]
name = "channel_showcase"
path = "examples/channel_showcase.rs"

[[example]]
name = "chat_server"
path = "examples/chat_server.rs"

[[example]]
name = "command_center"
path = "examples/command_center.rs"

[[example]]
name = "frame_loop_embedding"
path = "examples/frame_loop_embedding.rs"

[[example]]
name = "hyper_http_client"
path = "examples/hyper_http_client.rs"
required-features = ["hyper"]

[[example]]
name = "main_result"
path = "examples/main_result.rs"

[[example]]
name = "runtime_loop_showcase"
path = "examples/runtime_loop_showcase.rs"

[[example]]
name = "subprocess_pipeline"
path = "examples/subprocess_pipeline.rs"

[[example]]
name = "tcp_echo_server"
path = "examples/tcp_echo_server.rs"

[[test]]
name = "block_on"
path = "tests/block_on.rs"

[[test]]
name = "cancellation"
path = "tests/cancellation.rs"

[[test]]
name = "channel"
path = "tests/channel.rs"

[[test]]
name = "concurrency"
path = "tests/concurrency.rs"

[[test]]
name = "event_loop_order"
path = "tests/event_loop_order.rs"

[[test]]
name = "fd_interop"
path = "tests/fd_interop.rs"

[[test]]
name = "fs"
path = "tests/fs.rs"

[[test]]
name = "fs_metadata"
path = "tests/fs_metadata.rs"

[[test]]
name = "hyper_rt"
path = "tests/hyper_rt.rs"

[[test]]
name = "io_compat"
path = "tests/io_compat.rs"

[[test]]
name = "io_copy"
path = "tests/io_copy.rs"

[[test]]
name = "io_streams"
path = "tests/io_streams.rs"

[[test]]
name = "macros"
path = "tests/macros.rs"

[[test]]
name = "microtask_starvation"
path = "tests/microtask_starvation.rs"

[[test]]
name = "net"
path = "tests/net.rs"

[[test]]
name = "net_extra"
path = "tests/net_extra.rs"

[[test]]
name = "panic_isolation"
path = "tests/panic_isolation.rs"

[[test]]
name = "process"
path = "tests/process.rs"

[[test]]
name = "reentrancy"
path = "tests/reentrancy.rs"

[[test]]
name = "unix_stream"
path = "tests/unix_stream.rs"

[[test]]
name = "waker"
path = "tests/waker.rs"

[[bench]]
name = "io"
path = "benches/io.rs"
harness = false

[[bench]]
name = "primitives"
path = "benches/primitives.rs"
harness = false

[[bench]]
name = "runtime"
path = "benches/runtime.rs"
harness = false

[dependencies.futures-io]
version = "0.3"
optional = true

[dependencies.hyper]
version = "1.8"
features = [
    "client",
    "server",
    "http1",
    "http2",
]
optional = true
default-features = false

[dependencies.runite-proc-macros]
version = "=0.1.0"
package = "runite-proc-macros"

[dependencies.tracing]
version = "0.1"
features = ["std"]
default-features = false

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.http-body-util]
version = "0.1"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_Networking_WinSock",
    "Win32_Security",
    "Win32_Storage_FileSystem",
    "Win32_System_Console",
    "Win32_System_IO",
    "Win32_System_Performance",
    "Win32_System_Pipes",
    "Win32_System_Threading",
]