From 0099fc07707fe22410dd4b326dad8656ea6382e2 Mon Sep 17 00:00:00 2001 From: Sam Denty Date: Tue, 3 Jan 2023 21:22:31 +0000 Subject: [PATCH] fix: remove unstable feature --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/lib.rs | 1 - src/manifest.rs | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4204771..112d8c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1786,7 +1786,7 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" [[package]] name = "site_icons" -version = "0.6.2" +version = "0.6.3" dependencies = [ "byteorder", "cached", diff --git a/Cargo.toml b/Cargo.toml index 410c6dc..1972648 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "site_icons" -version = "0.6.2" +version = "0.6.3" authors = ["Sam Denty "] edition = "2018" license = "GPL-3.0" diff --git a/src/lib.rs b/src/lib.rs index eb6cc61..4983e73 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,3 @@ -#![feature(async_closure)] #![allow(unused_imports)] //! # site_icons //! An efficient website icon scraper. diff --git a/src/manifest.rs b/src/manifest.rs index ba773f0..6ac517d 100644 --- a/src/manifest.rs +++ b/src/manifest.rs @@ -41,7 +41,7 @@ async fn load_manifest_cached(url: Url) -> Result, String> { .map_err(|e| format!("{}: {:?}", url, e))?; Ok( - join_all(manifest.icons.into_iter().map(async move |icon| { + join_all(manifest.icons.into_iter().map(|icon| async move { if let Ok(src) = url.join(&icon.src) { Icon::load(src, IconKind::AppIcon, icon.sizes).await.ok() } else {