1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//! `agnostic-lite` is lightweight [`agnostic`](https://crates.io/crates/agnostic).
#![cfg_attr(not(any(feature = "std", test)), no_std)]
#![allow(warnings)]
#![forbid(unsafe_code)]
#![deny(warnings, missing_docs)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(docsrs, allow(unused_attributes))]

mod spawner;
pub use spawner::*;

mod local_spawner;
pub use local_spawner::*;

#[cfg(any(feature = "std", test))]
extern crate std;

#[cfg(feature = "std")]
mod sleep;
#[cfg(feature = "std")]
pub use sleep::*;

#[cfg(feature = "std")]
mod interval;
#[cfg(feature = "std")]
pub use interval::*;

#[cfg(feature = "std")]
mod timeout;
#[cfg(feature = "std")]
pub use timeout::*;