fix ip & route cfg on windows (#28)

This commit is contained in:
Sijie.Sun
2024-03-09 00:24:16 +08:00
committed by GitHub
parent 5f30747f62
commit cb0df51319
7 changed files with 82 additions and 38 deletions

View File

@@ -90,6 +90,8 @@ clap = { version = "4.4", features = ["derive"] }
async-recursion = "1.0.5"
network-interface = "1.1.1"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.52", features = [
"Win32_Networking_WinSock",