[package]
edition = "2024"
rust-version = "1.85.0"
name = "nftnl-sys"
version = "0.6.4"
authors = ["Mullvad VPN"]
build = "build.rs"
links = "nftnl"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low level FFI bindings to libnftnl. Provides low-level userspace access to the in-kernel nf_tables subsystem"
readme = "README.md"
keywords = [
"nftables",
"nft",
"firewall",
"iptables",
"netfilter",
]
categories = [
"network-programming",
"os::unix-apis",
"external-ffi-bindings",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mullvad/nftnl-rs"
resolver = "2"
[features]
nftnl-1-0-7 = []
nftnl-1-0-8 = ["nftnl-1-0-7"]
nftnl-1-0-9 = ["nftnl-1-0-8"]
nftnl-1-1-0 = ["nftnl-1-0-9"]
nftnl-1-1-1 = ["nftnl-1-1-0"]
nftnl-1-1-2 = ["nftnl-1-1-1"]
nftnl-1-1-3 = ["nftnl-1-1-2"]
nftnl-1-1-4 = ["nftnl-1-1-3"]
nftnl-1-1-5 = ["nftnl-1-1-4"]
nftnl-1-1-6 = ["nftnl-1-1-5"]
nftnl-1-1-7 = ["nftnl-1-1-6"]
nftnl-1-1-8 = ["nftnl-1-1-7"]
nftnl-1-1-9 = ["nftnl-1-1-8"]
nftnl-1-2-0 = ["nftnl-1-1-9"]
nftnl-1-2-1 = ["nftnl-1-2-0"]
nftnl-1-2-2 = ["nftnl-1-2-1"]
nftnl-1-2-3 = ["nftnl-1-2-2"]
nftnl-1-2-4 = ["nftnl-1-2-3"]
nftnl-1-2-5 = ["nftnl-1-2-4"]
nftnl-1-2-6 = ["nftnl-1-2-5"]
nftnl-1-2-7 = ["nftnl-1-2-6"]
nftnl-1-2-8 = ["nftnl-1-2-7"]
nftnl-1-2-9 = ["nftnl-1-2-8"]
nftnl-1-3-0 = ["nftnl-1-2-9"]
[lib]
name = "nftnl_sys"
path = "src/lib.rs"
[dependencies.cfg-if]
version = "1.0"
[dependencies.libc]
version = "0.2.166"
[dependencies.mnl-sys]
version = "0.2.2"
[build-dependencies.cfg-if]
version = "1.0"
[build-dependencies.pkg-config]
version = "0.3.19"