Docs.rs
favilib-0.5.1
favilib 0.5.1
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
Pascal736
Dependencies
anyhow ^1
normal
clap ^4
normal
image ^0.25
normal
reqwest ^0.12
normal
scraper ^0.19
normal
thiserror ^1
normal
url ^2
normal
Versions
28.57%
of the crate is documented
Platform
i686-pc-windows-msvc
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
favilib
0.5.1
All Items
Crate Items
Modules
Structs
Enums
Functions
Crate
favilib
Copy item path
Source
Modules
§
errors
Structs
§
Client
A
Client
to make Requests with.
Favicon
Url
A parsed URL record.
Enums
§
Dynamic
Image
A Dynamic Image
Image
Format
An enumeration of supported image formats. Not all formats support both encoding and decoding.
Image
Size
Represents the size of the image to be fetched. Default values are: Small (16x16), Medium (32x32), Large (64x64). Custom allows for custom sizes to be set. Default uses the original size of the image.
Functions
§
fetch
Fetches a favicon from a URL and saves it to a file at the given path.