wintun-bindings 0.7.21

Safe idiomatic bindings to the WinTun C library and more enhancements
Documentation
[dependencies.blocking]
optional = true
version = "1"

[dependencies.c2rust-bitfields]
version = "0.19"

[dependencies.futures]
optional = true
version = "0.3"

[dependencies.libloading]
version = "0.8"

[dependencies.log]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.windows-sys]
features = ["Win32_System_Diagnostics_Debug", "Win32_System_SystemServices", "Win32_Security_Cryptography", "Win32_NetworkManagement_IpHelper", "Win32_NetworkManagement_Ndis", "Win32_Networking_WinSock", "Win32_System_Threading", "Win32_System_Com", "Win32_System_Rpc", "Win32_Security", "Win32_Foundation", "Win32_System_Ioctl", "Win32_System_IO", "Win32_System_LibraryLoader", "Win32_Security_WinTrust"]
version = "0.59"

[dependencies.winreg]
version = "0.52.0"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.packet]
version = "0.1"

[dev-dependencies.pcap-file]
version = "2"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.subprocess]
version = "0.2"

[dev-dependencies.tokio]
features = ["full"]
version = "1"

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

[[example]]
name = "basic-async"
path = "examples/basic-async.rs"
required-features = ["async"]

[[example]]
name = "udp-echo"
path = "examples/udp-echo.rs"

[[example]]
name = "udp-echo-async"
path = "examples/udp-echo-async.rs"
required-features = ["async"]

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

[features]
async = ["blocking", "futures"]
default = []
panic_on_unsent_packets = []
verify_binary_signature = []

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

[package]
authors = ["ssrlive", "null.black Inc. <opensource@null.black>", "Troy Neubauer <troy@null.black>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings"]
description = "Safe idiomatic bindings to the WinTun C library and more enhancements"
documentation = "https://docs.rs/wintun-bindings/"
edition = "2021"
keywords = ["wintun", "tap", "tun", "vpn", "wireguard"]
license = "MIT"
name = "wintun-bindings"
readme = "README.md"
repository = "https://github.com/tun2proxy/wintun-bindings"
version = "0.7.21"

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