fix: remove unstable feature

This commit is contained in:
Sam Denty 2023-01-03 21:22:31 +00:00
parent 1ecbd89124
commit 0099fc0770
No known key found for this signature in database
GPG key ID: 7B4EAF7B9E291B79
4 changed files with 3 additions and 4 deletions

2
Cargo.lock generated
View file

@ -1786,7 +1786,7 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
[[package]]
name = "site_icons"
version = "0.6.2"
version = "0.6.3"
dependencies = [
"byteorder",
"cached",

View file

@ -1,6 +1,6 @@
[package]
name = "site_icons"
version = "0.6.2"
version = "0.6.3"
authors = ["Sam Denty <sam@samdenty.com>"]
edition = "2018"
license = "GPL-3.0"

View file

@ -1,4 +1,3 @@
#![feature(async_closure)]
#![allow(unused_imports)]
//! # site_icons
//! An efficient website icon scraper.

View file

@ -41,7 +41,7 @@ async fn load_manifest_cached(url: Url) -> Result<Vec<Icon>, 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 {