codspeed_criterion_compat/lib.rs
1pub use codspeed::codspeed_uri;
2
3#[cfg(not(codspeed))]
4mod compat_criterion {
5 pub use criterion::*;
6}
7
8#[cfg(codspeed)]
9#[path = "."]
10mod compat_criterion {
11 pub use codspeed::abs_file;
12
13 mod compat;
14 pub use compat::*;
15
16 pub use criterion::{
17 async_executor, black_box, measurement, profiler, AxisScale, Baseline, BatchSize,
18 PlotConfiguration, PlottingBackend, SamplingMode, Throughput,
19 };
20}
21
22pub use compat_criterion::*;