rustables 0.8.8

Safe abstraction for nftables manipulation on Linux
Documentation
# 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 = "rustables"
version = "0.8.8"
authors = [
    "lafleur@boum.org",
    "Simon Thoby",
    "Mullvad VPN",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe abstraction for nftables manipulation on Linux"
readme = "README.md"
keywords = [
    "nftables",
    "nft",
    "firewall",
    "iptables",
    "netfilter",
]
categories = [
    "network-programming",
    "os::unix-apis",
    "api-bindings",
]
license = "GPL-3.0-or-later"
repository = "https://gitlab.com/rustwall/rustables"

[features]

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

[[example]]
name = "add-rules"
path = "examples/add-rules.rs"

[[example]]
name = "atomic-replace"
path = "examples/atomic-replace.rs"

[[example]]
name = "filter-ethernet"
path = "examples/filter-ethernet.rs"

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

[dependencies.bitflags]
version = "2.9"

[dependencies.ipnetwork]
version = "0.21"
default-features = false

[dependencies.libc]
version = "0.2.43"

[dependencies.log]
version = "0.4"

[dependencies.nix]
version = "0.31"
features = ["socket"]

[dependencies.rustables-macros]
version = "0.1.2"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.env_logger]
version = "0.11"

[build-dependencies.bindgen]
version = "0.72"

[build-dependencies.regex]
version = "1.10"