windows_firewall 0.6.0

A crate for managing Windows Firewall rules and settings.
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"
rust-version = "1.88"
name = "windows_firewall"
version = "0.6.0"
authors = ["lhenry-dev <lhenry.dev1@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A crate for managing Windows Firewall rules and settings."
homepage = "https://crates.io/crates/windows_firewall"
documentation = "https://docs.rs/windows_firewall/latest/windows_firewall/"
readme = "README.md"
keywords = [
    "windows",
    "ffi",
    "win32",
    "com",
    "firewall",
]
categories = [
    "external-ffi-bindings",
    "os::windows-apis",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/lhenry-dev/windows-firewall-rs"

[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = [
    "aarch64-pc-windows-msvc",
    "i686-pc-windows-msvc",
    "x86_64-pc-windows-gnu",
    "x86_64-pc-windows-msvc",
]

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

[[test]]
name = "firewall_state_tests"
path = "tests/firewall_state_tests.rs"

[[test]]
name = "rules_test"
path = "tests/rules_test.rs"

[dependencies.getset]
version = "0.1.6"

[dependencies.ipnet]
version = "2.11.0"

[dependencies.scopeguard]
version = "1.2.0"

[dependencies.thiserror]
version = "2.0.16"

[dependencies.tracing]
version = "0.1.41"

[dependencies.typed-builder]
version = "0.23.0"

[dev-dependencies.ipconfig]
version = "0.3.2"

[dev-dependencies.serial_test]
version = "3.3.1"

[target."cfg(windows)".dependencies.windows]
version = "0.62.0"
features = [
    "Win32_System_Com",
    "Win32_NetworkManagement_WindowsFirewall",
    "Win32_System_Ole",
    "Win32_System_Variant",
]