增加命令
This commit is contained in:
+2
-16
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "virtual_network"
|
||||
name = "switch"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
@@ -18,7 +18,7 @@ parking_lot = "0.12.1"
|
||||
rsa = "0.7.2"
|
||||
rand = "0.8.5"
|
||||
sha2 = { version = "0.10.6", features = ["oid"] }
|
||||
colored = "2.0.0"
|
||||
#colored = "2.0.0"
|
||||
|
||||
thiserror = "1.0.37"
|
||||
chrono = "0.4.23"
|
||||
@@ -29,7 +29,6 @@ protobuf = "3.2.0"
|
||||
console = "0.15.2"
|
||||
mac_address = "1.1.4"
|
||||
clap = { version = "4.0.32", features = ["derive"] }
|
||||
#clap_derive = "4.0.21"
|
||||
[target.'cfg(any(unix))'.dependencies]
|
||||
tun = { version = "0.5" }
|
||||
sudo = "0.6.0"
|
||||
@@ -40,19 +39,6 @@ wintun = "0.2.1"
|
||||
libloading = "0.7.4"
|
||||
runas = "0.2.1"
|
||||
|
||||
#[dependencies.windows]
|
||||
#
|
||||
#libloading = "0.7.4"
|
||||
#
|
||||
#version = "0.37.0"
|
||||
#features = [
|
||||
# "alloc",
|
||||
# "Win32_Foundation",
|
||||
# "Win32_NetworkManagement_IpHelper",
|
||||
# "Win32_Networking_WinSock",
|
||||
# "Win32_UI_WindowsAndMessaging",
|
||||
# "Win32_System_IO"
|
||||
#]
|
||||
[build-dependencies]
|
||||
protobuf-codegen = "3.2.0"
|
||||
protoc-bin-vendored = "3.0.0"
|
||||
Reference in New Issue
Block a user