huskarl-core 0.2.0

Base library for huskarl (OAuth2 client) ecosystem.
Documentation
1
2
3
4
5
6
7
8
//! Implementations for platforms other than wasm32-unknown-unknown (usually web browser).

pub use std::time::{Duration, Instant, SystemTime, SystemTimeError};

/// Sleep implementation.
pub async fn sleep(duration: super::Duration) {
    tokio::time::sleep(duration).await;
}