[package]
edition = "2021"
rust-version = "1.89.0"
name = "yip-device"
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 = "Linux TUN/TAP network device interface abstraction and multiqueue descriptor management 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_device"
path = "src/lib.rs"
[[test]]
name = "multi_queue"
path = "tests/multi_queue.rs"
[dependencies.libc]
version = "0.2.180"
[dependencies.thiserror]
version = "2.0.9"
[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