feat: Add enable_wg_broker feature using MioBrokerClient

doc: Add documentation for new methods and arguments

fix: Require new psk_broker_spawn flag to use broker without extra parameters, to make all-features cargo test pass

fix: Fix MioBrokerClient buffer size to allow room for length prefix

fix: Fix remaining issue with panic
This commit is contained in:
Katherine Watson
2024-07-24 18:43:01 -07:00
parent 191fb10663
commit 065b0fcc8a
6 changed files with 190 additions and 10 deletions

12
Cargo.lock generated
View File

@@ -449,6 +449,16 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422"
[[package]]
name = "command-fds"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f190f3c954f7bca3c6296d0ec561c739bdbe6c7e990294ed168d415f6e1b5b01"
dependencies = [
"nix 0.27.1",
"thiserror",
]
[[package]]
name = "cpufeatures"
version = "0.2.12"
@@ -1788,6 +1798,7 @@ version = "0.2.1"
dependencies = [
"anyhow",
"clap 4.5.15",
"command-fds",
"criterion",
"derive_builder 0.20.0",
"env_logger",
@@ -1808,6 +1819,7 @@ dependencies = [
"rosenpass-to",
"rosenpass-util",
"rosenpass-wireguard-broker",
"rustix",
"serde",
"serial_test",
"stacker",