nlink 0.1.1

Async netlink library for Linux network configuration
Documentation
[dependencies.bytes]
version = "1"

[dependencies.inotify]
default-features = false
features = ["stream"]
optional = true
version = "0.11"

[dependencies.libc]
version = "0.2"

[dependencies.netlink-sys]
version = "0.8"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
features = ["full", "net", "io-util", "sync"]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.winnow]
version = "0.7"

[dev-dependencies.tokio]
features = ["full", "net", "io-util", "sync", "macros", "rt-multi-thread"]
version = "1"

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

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

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

[features]
default = []
full = ["sockdiag", "tuntap", "tuntap-async", "tc", "output", "namespace_watcher"]
integration = []
namespace_watcher = ["dep:inotify"]
output = ["dep:serde"]
sockdiag = ["dep:serde"]
tc = []
tuntap = []
tuntap-async = ["tuntap"]

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

[package]
authors = ["Marc Pardo <p13marc@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming", "os::linux-apis", "asynchronous"]
description = "Async netlink library for Linux network configuration"
documentation = "https://docs.rs/nlink"
edition = "2024"
keywords = ["netlink", "linux", "networking", "async", "iproute2"]
license = "MIT OR Apache-2.0"
name = "nlink"
readme = false
repository = "https://github.com/p13marc/nlink"
resolver = "2"
version = "0.1.1"