windows-wfp 0.2.0

Safe Rust wrapper for the Windows Filtering Platform (WFP) kernel-level firewall API
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 = "2021"
rust-version = "1.75"
name = "windows-wfp"
version = "0.2.0"
authors = ["Pierre <lostyzen@github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust wrapper for the Windows Filtering Platform (WFP) kernel-level firewall API"
documentation = "https://docs.rs/windows-wfp"
readme = "README.md"
keywords = [
    "windows",
    "firewall",
    "wfp",
    "network",
    "filter",
]
categories = [
    "os::windows-apis",
    "network-programming",
]
license = "GPL-2.0"
repository = "https://github.com/lostyzen/windows-wfp"

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

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

[[example]]
name = "list_filters"
path = "examples/list_filters.rs"

[[example]]
name = "live_demo"
path = "examples/live_demo.rs"

[[example]]
name = "simple_block"
path = "examples/simple_block.rs"

[dependencies.thiserror]
version = "2.0"

[dependencies.windows]
version = "0.58"
features = [
    "Win32_Foundation",
    "Win32_NetworkManagement_WindowsFilteringPlatform",
    "Win32_Security",
    "Win32_System_Rpc",
    "Win32_System_Threading",
]