tapd 0.1.21

wrap tun/tap device to tapd app/lib
Documentation
[[bin]]
name = "tapd"
path = "src/main.rs"

[[bin]]
name = "tapd_udp"
path = "src/tsync/udp.rs"

[[bin]]
name = "tapd_tcp"
path = "src/tsync/tcp.rs"

[[bin]]
name = "tapd_udp_async"
path = "src/tasync/udp.rs"

[[bin]]
name = "tapd_tcp_async"
path = "src/tasync/tcp.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
features = ["derive"]
version = "4.5"

[dependencies.console-subscriber]
optional = true
version = "0.5"

[dependencies.nix]
features = ["ioctl", "fs"]
version = "0.30"

[dependencies.tokio]
features = ["full"]
version = "1"

[dependencies.tun]
features = ["async"]
version = "0.8"

[features]
tracing = ["console-subscriber", "tokio/tracing"]

[lib]
name = "tapd"
path = "src/lib.rs"

[package]
authors = ["Jacky WU <hongzhi.wu@139.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "wrap tun/tap device to tapd app/lib"
edition = "2024"
keywords = ["linux", "tun"]
license = "MIT"
name = "tapd"
readme = "README.md"
version = "0.1.21"

[profile.release]
lto = true
panic = "abort"
strip = true