//! Real-time map matching over NATS JetStream.
//!
//! `routers_realtime` turns a stream of raw vehicle observations into a durable,
//! revisable history of matched output. Four roles pass messages over four
//! JetStream planes and never call each other directly — the bus is the only
//! coupling: [`ingress`] publishes observations, an [`orchestrator`] owns each
//! vehicle's continuity and commits output, a [`matcher`] solves jobs
//! statelessly, and the [`materializer`] applies committed output to the served
//! view.
//!
//! Everything that talks to NATS or Valkey sits behind an adapter trait and is
//! exercised by in-memory fakes; no broker or store exists in the test sandbox.
extern crate alloc;