1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pub use codspeed::codspeed_uri;

#[cfg(not(codspeed))]
mod compat_criterion {
    pub use criterion::*;
}

#[cfg(codspeed)]
#[path = "."]
mod compat_criterion {
    pub use codspeed::abs_file;

    mod compat;
    pub use compat::*;

    pub use criterion::{
        async_executor, black_box, measurement, profiler, AxisScale, Baseline, BatchSize,
        PlotConfiguration, PlottingBackend, SamplingMode, Throughput,
    };
}

pub use compat_criterion::*;