site_icons 0.6.4

Website icon scraper that fetches sizes (with WASM support)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[macro_use]
mod macros;
mod background_poll;
mod svg_encoder;

pub use background_poll::*;
pub use macros::*;
pub use svg_encoder::*;

use url::Url;

pub fn push_url(url: &Url, segment: &str) -> Url {
  let mut url = url.clone();
  url.path_segments_mut().unwrap().push(segment);
  url
}