diff --git a/src/html_parser/head.rs b/src/html_parser/head.rs
index 626b32f..831001e 100644
--- a/src/html_parser/head.rs
+++ b/src/html_parser/head.rs
@@ -35,7 +35,9 @@ pub async fn parse_head(
url: &Url,
mut body: impl Stream- , String>> + Unpin,
) -> Result, Box> {
- let mut icons = Vec::new();
+ let mut icons: Vec<
+ futures::future::Shared> + Send>>>,
+ > = Vec::new();
let new_icons = Arc::new(Mutex::new(Vec::new()));
{
@@ -52,11 +54,11 @@ pub async fn parse_head(
.get_attribute("href")
.and_then(|href| url.join(&href).ok())
{
- new_icons.lock().unwrap().push(
- async { SiteIcons::load_manifest(href).await.unwrap_or(Vec::new()) }
- .boxed()
- .shared(),
- )
+ // new_icons.lock().unwrap().push(
+ // async { SiteIcons::load_manifest(href).await.unwrap_or(Vec::new()) }
+ // .boxed()
+ // .shared(),
+ // )
}
Ok(())
@@ -83,16 +85,16 @@ pub async fn parse_head(
let sizes = link.get_attribute("sizes");
- new_icons.lock().unwrap().push(
- async {
- Icon::load(href, kind, sizes)
- .await
- .map(|icon| vec![icon])
- .unwrap_or(Vec::new())
- }
- .boxed()
- .shared(),
- )
+ // new_icons.lock().unwrap().push(
+ // async {
+ // Icon::load(href, kind, sizes)
+ // .await
+ // .map(|icon| vec![icon])
+ // .unwrap_or(Vec::new())
+ // }
+ // .boxed()
+ // .shared(),
+ // )
};
Ok(())