# 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.69.0" name = "pfctl" version = "0.6.1" authors = ["Mullvad VPN"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Library for interfacing with the Packet Filter (PF) firewall on macOS" readme = "README.md" keywords = [ "pf", "firewall", "macos", "packet", "filter", ] categories = [ "network-programming", "os", "os::macos-apis", "api-bindings", ] license = "MIT/Apache-2.0" repository = "https://github.com/mullvad/pfctl-rs" [lib] name = "pfctl" path = "src/lib.rs" [[example]] name = "add_anchor" path = "examples/add_anchor.rs" [[example]] name = "add_rules" path = "examples/add_rules.rs" [[example]] name = "enable" path = "examples/enable.rs" [[example]] name = "flush_rules" path = "examples/flush_rules.rs" [[example]] name = "transaction" path = "examples/transaction.rs" [[test]] name = "anchors" path = "tests/anchors.rs" [[test]] name = "enable_disable" path = "tests/enable_disable.rs" [[test]] name = "filter_rules" path = "tests/filter_rules.rs" [[test]] name = "nat_rules" path = "tests/nat_rules.rs" [[test]] name = "redirect_rules" path = "tests/redirect_rules.rs" [[test]] name = "scrub_rules" path = "tests/scrub_rules.rs" [[test]] name = "states" path = "tests/states.rs" [[test]] name = "transaction" path = "tests/transaction.rs" [dependencies.derive_builder] version = "0.20" [dependencies.ioctl-sys] version = "0.8.0" [dependencies.ipnetwork] version = "0.20.0" [dependencies.libc] version = "0.2.29" [dev-dependencies.assert_matches] version = "1.1.0" [dev-dependencies.scopeguard] version = "1.0" [dev-dependencies.uuid] version = "1.8.0" features = ["v4"] [badges.travis-ci] repository = "mullvad/pfctl-rs"