26 lines
650 B
TOML
26 lines
650 B
TOML
[package]
|
|
name = "tun"
|
|
version = "0.5.4"
|
|
edition = "2018"
|
|
|
|
authors = ["meh. <[email protected]>"]
|
|
license = "WTFPL"
|
|
|
|
description = "TUN device creation and handling."
|
|
repository = "https://github.com/meh/rust-tun"
|
|
keywords = ["tun", "network", "tunnel", "bindings"]
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
thiserror = "1"
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "ios", target_os = "android"))'.dependencies]
|
|
bytes = { version = "1", optional = true }
|
|
byteorder = { version = "1", optional = true }
|
|
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
|
|
ioctl = { version = "0.6", package = "ioctl-sys" }
|
|
|
|
|