yip-io 0.1.0

High-performance I/O engines (AF_XDP zero-copy, io_uring, and vectorized recvmmsg/sendmmsg) for yip
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 = "2021"
rust-version = "1.89.0"
name = "yip-io"
version = "0.1.0"
authors = ["FEMBOY CYBER NETWORKS LLC <security@femboy.is>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance I/O engines (AF_XDP zero-copy, io_uring, and vectorized recvmmsg/sendmmsg) for yip"
homepage = "https://github.com/femboyisp/yip"
documentation = "https://docs.rs/yip-mesh"
readme = false
keywords = [
    "vpn",
    "mesh",
    "fec",
    "cryptography",
    "peer-to-peer",
]
categories = [
    "network-programming",
    "cryptography",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/femboyisp/yip"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

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

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

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

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

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

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

[dependencies.crossbeam-utils]
version = "0.8.22"

[dependencies.io-uring]
version = "0.7.10"

[dependencies.libc]
version = "0.2.186"

[lints.clippy]
allow_attributes = "warn"
as_ptr_cast_mut = "warn"
as_underscore = "warn"
borrow_as_ptr = "warn"
implicit_clone = "warn"
undocumented_unsafe_blocks = "warn"
unicode_not_nfc = "warn"
unused_async = "deny"
wildcard_dependencies = "deny"

[lints.rust]
absolute_paths_not_starting_with_crate = "deny"
explicit_outlives_requirements = "warn"
macro_use_extern_crate = "deny"
missing_abi = "deny"
non_ascii_idents = "forbid"
single_use_lifetimes = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1