feat: add tun/tap for mac

This commit is contained in:
2021-04-23 00:45:02 +08:00
parent 5f880886ba
commit 4bbb7b9578
3 changed files with 681 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
[package]
name = "tuntapmac"
version = "0.1.0"
authors = ["Hatter Jiang <jht5945@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tun-tap-mac = {version = "0.1.2", features = ["tokio"] }
tokio-core = "~0.1"
futures = "~0.1"