7577ec9cb2
* Initial work on reverse nat * wip * Refine key gen * Rename to wg_tunnel * Forward packet to peer * Remove source_addr * Check if allowed to write to tunnel * Extract out network_table * Move map struc definitions to udp_listener * Delegate ip network table calls * Fix mac compilation * Add TunTaskTx type
35 lines
1.0 KiB
TOML
35 lines
1.0 KiB
TOML
[package]
|
|
name = "nym-wireguard"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
async-recursion = "1.0.4"
|
|
base64 = "0.21.3"
|
|
# The latest version on crates.io at the time of writing this (6.0.0) has a
|
|
# version mismatch with x25519-dalek/curve25519-dalek that is resolved in the
|
|
# latest commit. So pick that for now.
|
|
#boringtun = "0.6.0"
|
|
boringtun = { git = "https://github.com/cloudflare/boringtun", rev = "e1d6360d6ab4529fc942a078e4c54df107abe2ba" }
|
|
bytes = "1.5.0"
|
|
dashmap = "5.5.3"
|
|
etherparse = "0.13.0"
|
|
futures = "0.3.28"
|
|
ip_network = "0.4.1"
|
|
ip_network_table = "0.2.0"
|
|
log.workspace = true
|
|
nym-task = { path = "../task" }
|
|
tap.workspace = true
|
|
thiserror.workspace = true
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "net", "io-util"] }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
tokio-tun = "0.9.0"
|