Networker
v2 clean reimplementation of Railscale at /Users/levander/coding/networker.
Railway Metaphor
| Term | Meaning |
|---|---|
| Freight/Passenger | Data frames inside the protocol buffer |
| Carriage | Packet (protocol representation) |
| Rail Network | Definition of steps to route data A→B with mappings |
Tech Stack
- Rust edition 2024
- tokio (rt-multi-thread, net, io-util, macros, time, sync, signal)
- tokio-util (codec), tokio-stream
- async-trait, bytes, tracing
v2 Design Differences from v1
- More composable generics:
ByteStreamSource/ByteStreamDestinationtraits with blanket impls - Generic
Frame<B, P>enum withPassthrough/Bufferedvariants instead of concrete phase machine FrameProducerextends tokio-utilDecoderdirectly- Single
railwaypackage (may expand later) vs v1’s 6-crate workspace