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