# 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 = "legomushroom-tun" version = "0.5.4" authors = ["meh. "] description = "TUN device creation and handling." keywords = ["tun", "network", "tunnel", "bindings"] license = "WTFPL" repository = "https://github.com/meh/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.6" package = "ioctl-sys" [target."cfg(any(target_os = \"linux\", target_os = \"macos\", target_os = \"ios\"))".dependencies.byteorder] version = "1" optional = true [target."cfg(any(target_os = \"linux\", target_os = \"macos\", target_os = \"ios\"))".dependencies.bytes] version = "1" optional = true [target."cfg(any(target_os = \"linux\", target_os = \"macos\", target_os = \"ios\"))".dependencies.futures-core] version = "0.3" optional = true [target."cfg(any(target_os = \"linux\", target_os = \"macos\", target_os = \"ios\"))".dependencies.tokio] version = "1" features = ["net", "macros"] optional = true [target."cfg(any(target_os = \"linux\", target_os = \"macos\", target_os = \"ios\"))".dependencies.tokio-util] version = "0.6" features = ["codec"] optional = true