# 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"
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
