# 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 = "nftables" version = "0.5.0" build = false exclude = [ ".devcontainer/*", ".github/*", "cliff.toml", "release-plz.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Safe abstraction for nftables JSON API. It can be used to create nftables rulesets in Rust and parse existing nftables rulesets from JSON." homepage = "https://namib.me/" readme = "README.md" keywords = [ "nftables", "netfilter", "firewall", ] categories = [ "os", "network-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/namib-project/nftables-rs" [lib] name = "nftables" path = "src/lib.rs" [[bin]] name = "nftables" path = "src/main.rs" [[test]] name = "helper_tests" path = "tests/helper_tests.rs" [[test]] name = "json_tests" path = "tests/json_tests.rs" [[test]] name = "serialize" path = "tests/serialize.rs" [dependencies.serde] version = "1.0.213" features = ["derive"] [dependencies.serde_json] version = "1.0.132" [dependencies.serde_path_to_error] version = "0.1" [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.thiserror] version = "1.0.65" [dev-dependencies.serial_test] version = "3.1.0"