# 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" name = "wintun-bindings" version = "0.7.17" authors = [ "ssrlive", "null.black Inc. ", "Troy Neubauer ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Safe idiomatic bindings to the WinTun C library and more enhancements" documentation = "https://docs.rs/wintun-bindings/" readme = "README.md" keywords = [ "wintun", "tap", "tun", "vpn", "wireguard", ] categories = ["api-bindings"] license = "MIT" repository = "https://github.com/tun2proxy/wintun-bindings" [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", ] [lib] name = "wintun_bindings" path = "src/lib.rs" [[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" [dependencies.blocking] version = "1" optional = true [dependencies.c2rust-bitfields] version = "0.19" [dependencies.futures] version = "0.3" optional = true [dependencies.libloading] version = "0.8" [dependencies.log] version = "0.4" [dependencies.thiserror] version = "2" [dependencies.windows-sys] version = "0.59" 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", ] [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] version = "1" features = ["full"] [features] async = [ "blocking", "futures", ] default = [] panic_on_unsent_packets = [] verify_binary_signature = []