支持tap网卡,优化tun网卡配置

This commit is contained in:
lubeilin
2023-05-07 18:32:11 +08:00
parent 068580e036
commit 35ed7f7e45
68 changed files with 2810 additions and 2393 deletions
+2 -1
View File
@@ -27,6 +27,7 @@ chrono = "0.4.23"
#moka = "0.9.6"
protobuf = "3.2.0"
#local-ip-address = "0.4.9"
socket2 ={ version = "0.5.2", features = ["all"] }
#mio = {version = "0.8.6",features = ["os-poll", "net"]}
#tokio = { version = "1.24.1", features = ["full"] }
@@ -34,7 +35,7 @@ protobuf = "3.2.0"
tun = { path = "./rust-tun" }
[target.'cfg(target_os = "windows")'.dependencies]
wintun = { path = "./wintun" }
win-tun-tap = {path = "./win-tun-tap"}
libloading = "0.7.4"
[build-dependencies]