# 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.60" name = "tunio" version = "0.3.0" description = "Crate for creating and managing TUN/TAP interfaces with async support. Works best with netconfig crate." readme = "README.md" keywords = [ "network", "networking", "cross-platform", "tun", ] categories = [ "os", "network-programming", ] license = "MIT" repository = "https://github.com/GamePad64/tunio" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.cfg-if] version = "1.0.0" [dependencies.delegate] version = "0.7.0" [dependencies.derive_builder] version = "0.11.2" [dependencies.futures] version = "0.3.21" optional = true [dependencies.log] version = "0.4.17" [dependencies.netconfig] version = "0.2.0" [dependencies.thiserror] version = "1.0.31" [dependencies.tokio] version = "1.19.2" features = [ "rt", "net", "fs", ] optional = true [dev-dependencies.env_logger] version = "0.9.0" [dev-dependencies.etherparse] version = "0.10.1" [dev-dependencies.tokio] version = "1.19.2" features = [ "rt", "macros", "rt-multi-thread", "signal", "sync", "io-util", ] [features] async-tokio = [ "dep:tokio", "dep:futures", ] default = [] [target."cfg(target_os = \"macos\")".dependencies.socket2] version = "0.4.4" [target."cfg(target_os = \"windows\")".dependencies.bytes] version = "1.1.0" [target."cfg(target_os = \"windows\")".dependencies.parking_lot] version = "0.12.1" [target."cfg(target_os = \"windows\")".dependencies.widestring] version = "1.0.1" [target."cfg(target_os = \"windows\")".dependencies.windows] version = "0.38.0" features = [ "Win32_System_Threading", "Win32_Foundation", "Win32_Security", "Win32_System_WindowsProgramming", "Win32_NetworkManagement_IpHelper", ] [target."cfg(target_os = \"windows\")".dependencies.wintun-sys] version = "0.1.0" [target."cfg(unix)".dependencies.io-lifetimes] version = "0.7.2" [target."cfg(unix)".dependencies.libc] version = "0.2.126" [target."cfg(unix)".dependencies.nix] version = "0.24.1"