[dependencies.libc]
version = "0.2"
[dependencies.thiserror]
version = "1"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.packet]
version = "0.1"
[[example]]
name = "read-async"
required-features = ["async", "tokio/rt-multi-thread"]
[[example]]
name = "read-async-codec"
required-features = ["async", "tokio/rt-multi-thread"]
[[example]]
name = "ping-tun"
required-features = ["async", "tokio/rt-multi-thread"]
[features]
async = ["tokio", "tokio-util", "bytes", "byteorder", "futures-core"]
[package]
authors = ["meh. <meh@schizofreni.co>"]
description = "TUN device creation and handling."
edition = "2018"
keywords = ["tun", "network", "tunnel", "bindings"]
license = "WTFPL"
name = "forky-tun"
readme = "README.md"
repository = "https://github.com/sabify/rust-tun"
version = "0.5.5"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.ioctl]
package = "ioctl-sys"
version = "0.8"
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "ios", target_os = "android"))'.dependencies.byteorder]
optional = true
version = "1"
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "ios", target_os = "android"))'.dependencies.bytes]
optional = true
version = "1"
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "ios", target_os = "android"))'.dependencies.futures-core]
optional = true
version = "0.3"
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "ios", target_os = "android"))'.dependencies.tokio]
features = ["net", "macros"]
optional = true
version = "1"
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "ios", target_os = "android"))'.dependencies.tokio-util]
features = ["codec"]
optional = true
version = "0.7"