Windows support (#72)

This commit is contained in:
ssrlive 2023-10-23 09:44:27 +08:00 committed by GitHub
parent a9a562029f
commit 989c42ee61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 721 additions and 49 deletions

View file

@ -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"