1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! An async timer implementation based on <https://github.com/Bathtor/rust-hash-wheel-timer>
//! used by the Ora scheduler.
#![cfg_attr(not(feature = "std"), no_std)]
#![warn(clippy::pedantic, missing_docs)]
#![allow(clippy::module_name_repetitions)]

extern crate alloc;

pub mod resolution;
#[cfg(feature = "std")]
pub mod timer;
pub mod wheel;

#[cfg(feature = "std")]
pub use timer::{Timer, TimerHandle};