zenith-linux 0.1.0

Zenith Linux 平台抽象层:AF_XDP Socket、UMEM 内存管理、四环操作(Fill/RX/TX/Completion)、描述符安全校验引擎
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.97.1"
name = "zenith-linux"
version = "0.1.0"
authors = ["Zenith Developers <2098175794@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zenith Linux 平台抽象层:AF_XDP Socket、UMEM 内存管理、四环操作(Fill/RX/TX/Completion)、描述符安全校验引擎"
homepage = "https://www.mosit.cn"
documentation = "https://docs.rs/zenith-stack"
readme = "README.md"
keywords = [
    "zenith",
    "linux",
    "af_xdp",
    "xsk",
    "umem",
]
categories = [
    "os::linux-apis",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://gitcode.com/Mosi45-git/Zenith"
resolver = "2"

[features]
default = []
io_uring = ["dep:io-uring"]

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

[dependencies.thiserror]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.zenith-foundation]
version = "0.1.0"

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

[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.7"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[lints.clippy]
all = "warn"
correctness = "deny"
perf = "deny"
suspicious = "deny"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "deny"