downlowd 0.1.1

Download files with automatic retries and resumes.
1
2
3
4
5
6
7
8
9
use crate::maybe_async;

pub struct TokioSystem;

impl maybe_async::System for TokioSystem {
    async fn sleep(duration: std::time::Duration) {
        tokio::time::sleep(duration).await;
    }
}