relentless 0.9.0

Composable retry policies for fallible operations and polling.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Facade module centralizing conditional imports.
//!
//! All other modules import from this facade rather than from `core`/`alloc`/`std`
//! directly. This keeps `#[cfg]` attributes out of the main logic.

pub use core::time::Duration;

#[cfg(feature = "alloc")]
#[allow(unused_imports)]
pub use alloc::boxed::Box;
#[cfg(feature = "alloc")]
#[allow(unused_imports)]
pub use alloc::string::String;
#[cfg(feature = "alloc")]
#[allow(unused_imports)]
pub use alloc::vec::Vec;