Skip to main content

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 three reports built over both — the
3//! venue-flow one ([`Report`]), the benchmark ([`RangeReport`]), and the per-template direct-fill
4//! probe breakdown ([`probes::ProbeReport`]). Adapters map their own source onto `LegRecord`;
5//! nothing here does I/O.
6
7pub mod benchmark;
8mod flow;
9mod fmt;
10mod prices;
11pub mod probes;
12mod record;
13mod render;
14#[cfg(test)]
15mod testing;
16
17// Types and constants are flat; the verbs stay behind `benchmark::`, where `collect` and
18// `measure` cannot be mistaken for iterator vocabulary.
19pub use benchmark::{
20    LoadStats, Measurement, OUTLIER_BPS, RangeReport, SideTotals, VENUE_DUST_USD, VenueTotals,
21};
22pub use flow::{Direction, Flow, Pair, Report, ReportBuilder, RerouteReportError, Target};
23pub use prices::{Prices, Samples};
24pub use record::{LegRecord, SwapMode};