vane-kernel 0.2.3

io_uring/mio dual-backend, thread-per-core transport engine for Vane
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.85"
name = "vane-kernel"
version = "0.2.3"
authors = ["Wyatt Au"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "io_uring/mio dual-backend, thread-per-core transport engine for Vane"
readme = false
license = "Apache-2.0"
repository = "https://github.com/WyattAu/vane"

[features]
default = ["io-uring"]
io-uring = ["dep:io-uring"]
loom = ["dep:loom"]
vane_dbg = []

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

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

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

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

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

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

[dependencies.bytes]
version = "1"

[dependencies.core_affinity]
version = "0.8"

[dependencies.io-uring]
version = "0.7"
optional = true

[dependencies.libc]
version = "0.2"

[dependencies.loom]
version = "0.7"
optional = true

[dependencies.mio]
version = "1.2"
features = [
    "net",
    "os-poll",
    "os-ext",
]

[dependencies.slab-pool]
version = "0.1"

[dependencies.socket2]
version = "0.6"
features = ["all"]

[dependencies.thiserror]
version = "2"

[dependencies.vane-observe]
version = "0.2.0"

[dependencies.workspace-hack]
version = "0.1"

[dev-dependencies.loom]
version = "0.7"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
expect_used = "allow"
missing_errors_doc = "warn"
undocumented_unsafe_blocks = "warn"
unwrap_used = "deny"

[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "deny"