[package]
edition = "2024"
name = "ip-nlroute"
version = "0.0.2"
authors = ["Richard Stephens <richard@richst.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High(er)-level interface for working with host network configuration on linux"
readme = "README.md"
license = "MIT"
repository = "https://github.com/richardstephens/ip-nlroute-rs"
resolver = "2"
[features]
default = ["netlink"]
netlink = [
"neli",
"nix",
]
[lib]
name = "ip_nlroute"
path = "src/lib.rs"
[dependencies.thiserror]
version = "2"
[target.'cfg(target_os = "linux")'.dependencies.neli]
version = "0.7"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.31"
features = ["net"]
optional = true