96fa68e0cb
Per maintainer request: the Rust sidecar workspace lives under the module that owns it, parallel to the upcoming nestsClient-browser-interop/ harness. The cargo workspace, Gradle wiring, gitignore, CI YAML, plan docs, and harness kdoc are all updated. cargo build --release still compiles; HangInteropTest.amethyst_speaker_to_hang_listener_stereo_440_660 green at the new path. Note: the live Phase 4 browser-harness agent (worktree agent-a97a6be483ecee618) was branched from before this move and references `cli/hang-interop` in its plan-doc imports. It will need to rebase onto this commit before it pushes; no code-level conflicts since the agent works exclusively in nestsClient-browser-interop/ + a new BrowserInteropTest.kt. https://claude.ai/code/session_01ERJPUYfdLPwZ99pr5EcEcV
29 lines
784 B
TOML
29 lines
784 B
TOML
[package]
|
|
name = "udp-loss-shim"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license.workspace = true
|
|
|
|
# UDP loopback that drops a configurable fraction of datagrams.
|
|
# Used by the I9 packet-loss interop scenario:
|
|
#
|
|
# client (--server-bind 0.0.0.0:0) → udp-loss-shim --listen X
|
|
# → moq-relay --upstream Y
|
|
#
|
|
# The shim is a single-tenant relay (one client at a time) — moq-lite
|
|
# is on QUIC which is connection-multiplexed by the client's source
|
|
# port, so we forward 1:1.
|
|
|
|
[[bin]]
|
|
name = "udp-loss-shim"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
clap.workspace = true
|
|
tokio.workspace = true
|
|
rand = "0.8"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|