Implement Wireguard
Implements Wireguard
This commit is contained in:
parent
60257b256a
commit
b008762a5b
59 changed files with 3824 additions and 529 deletions
|
|
@ -10,7 +10,7 @@ crate-type = ["lib", "staticlib"]
|
|||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
tokio = { version = "1.21", features = ["rt", "macros", "sync", "io-util", "rt-multi-thread"] }
|
||||
tokio = { version = "1.21", features = ["rt", "macros", "sync", "io-util", "rt-multi-thread", "time"] }
|
||||
tun = { version = "0.1", path = "../tun", features = ["serde", "tokio"] }
|
||||
clap = { version = "4.3.2", features = ["derive"] }
|
||||
tracing = "0.1"
|
||||
|
|
@ -22,8 +22,24 @@ env_logger = "0.10"
|
|||
log = "0.4"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
async-channel = "1.9"
|
||||
blake2 = "0.10.6"
|
||||
chacha20poly1305 = "0.10.1"
|
||||
rand = "0.8.5"
|
||||
rand_core = "0.6.4"
|
||||
aead = "0.5.2"
|
||||
x25519-dalek = { version = "2.0.0", features = ["reusable_secrets", "static_secrets"] }
|
||||
ring = "0.17.7"
|
||||
parking_lot = "0.12.1"
|
||||
hmac = "0.12"
|
||||
ipnet = { version = "2.8.0", features = ["serde"] }
|
||||
base64 = "0.21.4"
|
||||
fehler = "1.0.0"
|
||||
ip_network_table = "0.2.0"
|
||||
ip_network = "0.4.0"
|
||||
async-channel = "2.1.1"
|
||||
schemars = "0.8"
|
||||
futures = "0.3.28"
|
||||
uuid = { version = "1.6.1", features = ["v4"] }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
caps = "0.5.5"
|
||||
|
|
@ -34,6 +50,7 @@ nix = { version = "0.26.2" }
|
|||
|
||||
[dev-dependencies]
|
||||
insta = { version = "1.32.0", features = ["yaml"] }
|
||||
etherparse = "0.12"
|
||||
|
||||
[package.metadata.generate-rpm]
|
||||
assets = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue