# 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" rust-version = "1.56.0" name = "nftnl" version = "0.7.0" authors = ["Mullvad VPN"] build = false autobins = false autoexamples = false autotests = false autobenches = false 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 OR Apache-2.0" repository = "https://github.com/mullvad/nftnl-rs" [lib] name = "nftnl" path = "src/lib.rs" [[example]] name = "add-rules" path = "examples/add-rules.rs" [[example]] name = "filter-ethernet" path = "examples/filter-ethernet.rs" [dependencies.bitflags] version = "2.6.0" [dependencies.log] version = "0.4" [dependencies.nftnl-sys] version = "0.6.2" [dev-dependencies.ipnetwork] version = "0.20.0" [dev-dependencies.mnl] version = "0.2.2" [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"]