add wireguard tunnel (#42)

peers can connect with each other using wireguard protocol.
This commit is contained in:
Sijie.Sun
2024-03-28 10:01:25 +08:00
committed by GitHub
parent ce889e990e
commit 90110aa587
13 changed files with 799 additions and 62 deletions

View File

@@ -51,7 +51,7 @@ async-stream = "0.3.5"
async-trait = "0.1.74"
dashmap = "5.5.3"
timedmap = "1.0.1"
timedmap = "=1.0.1"
# for tap device
tun = { version = "0.6.1", features = ["async"] }
@@ -112,6 +112,9 @@ network-interface = "1.1.1"
# for ospf route
pathfinding = "4.9.1"
# for encryption
boringtun = { version = "0.6.0" }
# for cli
tabled = "0.15.*"
humansize = "2.1.3"
@@ -135,6 +138,7 @@ zip = "0.6.6"
[dev-dependencies]
serial_test = "3.0.0"
rstest = "0.18.2"
[profile.dev]
panic = "abort"