[package]
edition = "2018"
name = "nftnl"
version = "0.2.1"
authors = ["Mullvad VPN <admin@mullvad.net>", "Linus Färnstrand <linus@mullvad.net>"]
description = "Safe abstraction for 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", "api-bindings"]
license = "MIT/Apache-2.0"
repository = "https://github.com/mullvad/nftnl-rs"
[dependencies.bitflags]
version = "1.0"
[dependencies.err-derive]
version = "0.1.5"
[dependencies.libc]
version = "0.2.40"
[dependencies.log]
version = "0.4"
[dependencies.nftnl-sys]
version = "0.2"
[dev-dependencies.ipnetwork]
version = "0.15"
[dev-dependencies.mnl]
version = "0.1"
[features]
nftnl-1-0-7 = ["nftnl-sys/nftnl-1-0-7"]
nftnl-1-0-8 = ["nftnl-sys/nftnl-1-0-8"]
nftnl-1-0-9 = ["nftnl-sys/nftnl-1-0-9"]
nftnl-1-1-0 = ["nftnl-sys/nftnl-1-1-0"]
nftnl-1-1-1 = ["nftnl-sys/nftnl-1-1-1"]
nftnl-1-1-2 = ["nftnl-sys/nftnl-1-1-2"]