simulator_api/reroute_report/mod.rs
1//! The source-agnostic reroute-report core: one row in ([`LegRecord`]), the pricing derived
2//! from a stream of them ([`Samples`] / [`Prices`]), and the two reports built over both — the
3//! venue-flow one ([`Report`]) and the benchmark ([`RangeReport`]). Adapters map their own source
4//! onto `LegRecord`; nothing here does I/O.
5
6pub mod benchmark;
7mod flow;
8mod prices;
9mod record;
10mod render;
11#[cfg(test)]
12mod testing;
13
14// Types and constants are flat; the verbs stay behind `benchmark::`, where `collect` and
15// `measure` cannot be mistaken for iterator vocabulary.
16pub use benchmark::{
17 LoadStats, Measurement, OUTLIER_BPS, RangeReport, SideTotals, VENUE_DUST_USD, VenueTotals,
18};
19pub use flow::{Direction, Flow, Pair, Report, ReportBuilder, RerouteReportError, Target};
20pub use prices::{Prices, Samples};
21pub use record::{LegRecord, SwapMode};