refactor: move PacketConnection trait to aura-proto; decouple tunnel from transport

Worktree isolation is unavailable in this environment, so make Wave 3 safe for
same-tree parallel work instead: the PacketConnection contract now lives in
aura-proto (stable) and aura-tunnel no longer depends on aura-transport. With
transport and tunnel both depending only on proto (and not each other), the two
crates are independent leaves and can be built/edited concurrently without one
breaking the other's build. proto: 13 tests still green.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
xah30
2026-05-25 18:13:37 +03:00
parent cb78de4f37
commit 0a045c248d
7 changed files with 35 additions and 31 deletions
Generated
+3 -1
View File
@@ -242,6 +242,8 @@ dependencies = [
name = "aura-proto"
version = "0.1.0"
dependencies = [
"anyhow",
"async-trait",
"aura-crypto",
"aura-pki",
"bincode",
@@ -281,9 +283,9 @@ name = "aura-tunnel"
version = "0.1.0"
dependencies = [
"anyhow",
"async-trait",
"aura-crypto",
"aura-proto",
"aura-transport",
"bytes",
"hickory-resolver",
"ipnetwork",