A slow first download could make the rate search settle around 60 Mbit/s on a much faster link. A final faster train could also exhaust the byte budget before its feedback reached the sender. Reprobe above the first apparent limit and use unique payload actually delivered over sustained sender and receiver intervals. Count each submitted packet even when the tunnel is backpressured, and keep the unused part of the pacing batch available. The five-second deadline, metered limits and v1 wire format remain compatible with existing peers. Show achieved Mbit/s in the devices list and describe a lower bound in the tooltip. Reserve a font-measured TX/RX width independent of changing byte counts on narrow desktop windows and landscape Android. Support counters through exabytes and retain exact packet counts. Align the application, Android and Nix versions for 1.0.7. On a shaped 300/250 Mbit/s path with a cold download, the regression measured 295/247 Mbit/s after the fix and 59/244 on 1.0.6. The suite also covers trailing feedback, local tunnel pressure and compact layouts at multiple font sizes and display densities. Mixed 1.0.6/1.0.7 speed sessions completed in both roles. Two unmetered runs over real WireGuard on loopback measured 251 and 250 Mbit/s down and completed both directions in 3.0 and 3.1 seconds. On macOS arm64, workspace formatting and strict Clippy passed, and the locked all-targets suite passed 646 tests with six opt-in tests ignored. Cargo also reported the existing directories manifest warning. The GNU Windows workspace cross-check and Android arm64 debug APK build passed.
32 lines
974 B
TOML
32 lines
974 B
TOML
[package]
|
|
name = "tsunagi-wireguard"
|
|
version = "1.0.7"
|
|
description = "Independent authenticated WireGuard and Amnezia UDP carriers for tsunagi."
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license = "WTFPL AND Apache-2.0"
|
|
repository.workspace = true
|
|
|
|
[dependencies]
|
|
tsunagi-core = { path = "../tsunagi-core", version = "1.0.7" }
|
|
iroh.workspace = true
|
|
tokio = { workspace = true, features = ["net", "io-util", "time", "sync", "macros"] }
|
|
serde.workspace = true
|
|
postcard.workspace = true
|
|
bytes.workspace = true
|
|
tracing.workspace = true
|
|
zeroize = { version = "1.9", features = ["derive"] }
|
|
rand = "0.10"
|
|
chacha20 = "0.9"
|
|
boringtun = { version = "0.7.1", default-features = false }
|
|
netdev = "0.46"
|
|
|
|
[dev-dependencies]
|
|
tsunagi-core = { path = "../tsunagi-core", features = ["testing"] }
|
|
tokio = { version = "1.53", features = ["rt", "rt-multi-thread", "sync", "time", "macros"] }
|
|
tempfile.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|