Registry / utility / site-icons

site-icons

JSON →
library0.6.4rscratesunverified

A website icon scraper that fetches favicon sizes, with WASM support.

# Cargo.toml [dependencies] site_icons = "0.6.4"
INSTALL
IMPORT
SIG · SITE-ICONS
S
site-icons
utilityrustv0.6.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

get_icons
use site_icons::get_icons;

Fetches icons from a website URL.

use site_icons::get_icons; #[tokio::main] async fn main() { let icons = get_icons("https://example.com").await.unwrap(); println!("Found {} icons", icons.len()); }
Debug
Known issues
gotchaRequires async runtime (Tokio) for network requests.
fix
Add `tokio` dependency and use `#[tokio::main]`.
affects: >=0.6.0
Upgrade
Version history
0.6.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
site-icons — cargo add site-icons · libregistry