Skip to content

aalhitennf/floem-async-img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

async-img

Asynchronous image widget for Floem (git) that fetches image from url on background task or thread.

Enable runtime support with one of the feature flags: tokio, async-std, smol, or thread to use without any async runtime.

Enable cache with feature flag cache. Cache stores the fetched image(s) in memory, or on disk if configured so, reducing network fetches.

Examples

Async image with specific runtime:

cargo run --example async --features tokio|async-std|smol|thread

Async image with cache and specific runtime:

cargo run --example async --features cache,{tokio|async-std|smol|thread}

About

Asynchronous image widget for Floem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages