A crate with utilities that don't need feature toggles.
If they would need feature toggles, they should be in gix-features instead.
Examples
use Duration;
use ;
let waits: = default.take.collect;
assert_eq!;
A crate with utilities that don't need feature toggles.
If they would need feature toggles, they should be in gix-features instead.
use std::time::Duration;
use gix_utils::{backoff::Quadratic};
let waits: Vec<_> = Quadratic::default().take(3).collect();
assert_eq!(waits, vec![
Duration::from_millis(1),
Duration::from_millis(4),
Duration::from_millis(9),
]);