# 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 = "2021" name = "rustables" version = "0.8.6" authors = [ "lafleur@boum.org", "Simon Thoby", "Mullvad VPN", ] build = "build.rs" 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" [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 = "1.0" [dependencies.ipnetwork] version = "0.20" default-features = false [dependencies.libc] version = "0.2.43" [dependencies.log] version = "0.4" [dependencies.nix] version = "0.23" [dependencies.rustables-macros] version = "0.1.2" [dependencies.thiserror] version = "1.0" [dev-dependencies.env_logger] version = "0.9" [build-dependencies.bindgen] version = "0.68" [build-dependencies.regex] version = "1.10" [features]