infinity_sampler/
lib.rs

1#![no_std]
2#![doc = include_str!("../README.md")]
3
4mod buf;
5mod rate;
6
7#[cfg(doc)]
8pub mod math;
9
10pub use buf::{SamplingOutcome, SamplingReservoir};
11pub use rate::SamplingRate;
12
13#[cfg(test)]
14#[macro_use]
15extern crate std;
16
17#[cfg(test)]
18mod tests;
19
20/// `heapless` re-export
21pub use heapless;