# 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.70" name = "tappers" version = "0.4.2" authors = ["Nathaniel Bennett "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Cross-platform TUN, TAP and vETH interfaces" readme = "README.md" keywords = [ "tun", "tap", "tuntap", "tun_tap", "veth", ] categories = ["network-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/pkts-rs/tappers" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "tappers" path = "src/lib.rs" [dependencies.async-io] version = "2.3.4" optional = true [dependencies.async-std] version = "1.13.0" optional = true [dependencies.libc] version = "0.2" [dependencies.mio] version = "0.8.11" features = ["net"] optional = true [dependencies.once_cell] version = "1.19" [dependencies.smol] version = "2.0.2" optional = true [dependencies.tokio] version = "1.38.1" features = [ "net", "rt", "time", ] optional = true [dependencies.windows-sys] version = "0.59" features = [ "Win32", "Win32_NetworkManagement", "Win32_NetworkManagement_IpHelper", "Win32_NetworkManagement_Ndis", "Win32_System", "Win32_System_LibraryLoader", "Win32_System_Threading", ] [features] async-std = [ "dep:async-io", "dep:async-std", ] default = [] mio = ["dep:mio"] smol = [ "dep:async-io", "dep:smol", ] tapwin6 = [] tapwin6-runtime = ["tapwin6"] tokio = ["dep:tokio"] wintun = [] wintun-runtime = ["wintun"]