Files
softlan-vpn/crates/lanparty-relay/Cargo.toml
T
ddidderr b17b6f0683 test(relay): cover real client and gateway sessions
Add a relay-server test that connects the production client-core session and the
production gateway session to the same in-process relay. The test verifies room
join catch-up, negotiated peer identities, Ethernet datagrams in both
directions, stats reporting, and room/session cleanup after graceful shutdown.

The existing relay tests covered forwarding with raw Quinn peers. This adds a
higher-level proof that the three MVP components agree on the same control and
datagram contracts before the final Windows TAP and physical LAN test.

Test Plan:
- cargo fmt --check
- cargo test -p lanparty-relay bridges_real_client_and_gateway_sessions -- --nocapture
- cargo test --workspace
- cargo clippy --workspace --all-targets -- -D warnings
- git diff --check

Refs: PLAN.md Phase 1 relay/client/gateway proof
2026-05-21 23:07:20 +02:00

23 lines
603 B
TOML

[package]
name = "lanparty-relay"
version.workspace = true
edition.workspace = true
[dependencies]
anyhow.workspace = true
bytes.workspace = true
clap.workspace = true
lanparty-ctrl = { path = "../lanparty-ctrl" }
lanparty-net = { path = "../lanparty-net" }
lanparty-obs = { path = "../lanparty-obs" }
lanparty-proto = { path = "../lanparty-proto" }
quinn.workspace = true
rcgen.workspace = true
rustls.workspace = true
thiserror.workspace = true
tokio.workspace = true
[dev-dependencies]
lanparty-client-core = { path = "../lanparty-client-core" }
lanparty-gateway = { path = "../lanparty-gateway" }