mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-05-31 11:52:14 +00:00
Windows support (#72)
This commit is contained in:
parent
a9a562029f
commit
989c42ee61
8 changed files with 721 additions and 49 deletions
14
Cargo.toml
14
Cargo.toml
|
@ -50,3 +50,17 @@ reqwest = { version = "0.11", default-features = false, features = [
|
|||
] }
|
||||
serial_test = "2.0"
|
||||
test-log = "0.2"
|
||||
|
||||
[target.'cfg(target_os="windows")'.dependencies]
|
||||
rand = "0.8"
|
||||
windows = { version = "0.51", features = [
|
||||
"Win32_Storage_FileSystem",
|
||||
"Win32_NetworkManagement_IpHelper",
|
||||
"Win32_NetworkManagement_Ndis",
|
||||
"Win32_Networking_WinSock",
|
||||
"Win32_Foundation",
|
||||
] }
|
||||
wintun = { git = "https://github.com/ssrlive/wintun.git", branch = "main" }
|
||||
|
||||
[build-dependencies]
|
||||
serde_json = "1.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue