From c3dffac5da4a789f4521591543662fdeb8e9d01e Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 22 Jul 2019 22:25:55 +0200 Subject: [PATCH] Use async client --- src/statics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/statics.rs b/src/statics.rs index 53e0576..69e13bc 100644 --- a/src/statics.rs +++ b/src/statics.rs @@ -15,7 +15,7 @@ pub(crate) const CSS: &str = include_str!("../static/tacit-css.min.css"); pub(crate) const FAVICON: &[u8] = include_bytes!("../static/favicon32.png"); lazy_static! { - pub(crate) static ref CLIENT: reqwest::Client = reqwest::Client::new(); + pub(crate) static ref CLIENT: reqwest::r#async::Client = reqwest::r#async::Client::new(); pub(crate) static ref OPT: Opt = Opt::from_args(); pub(crate) static ref REPO_COUNT: AtomicUsize = AtomicUsize::new(count_repositories(&OPT.outdir).unwrap());