[package]
edition = "2021"
rust-version = "1.75"
name = "windows-wfp"
version = "0.2.1"
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",
]