notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 80a294a777944c6e5ca96c5f4c7cf1944a8fc3a8
parent f181ba7c3bcbafa8ce465513e089c9323c039e70
Author: kernelkind <kernelkind@gmail.com>
Date:   Sat, 22 Nov 2025 21:18:46 -0700

feat(media-loading): add TexturesCache to Images

Signed-off-by: kernelkind <kernelkind@gmail.com>

Diffstat:
Mcrates/notedeck/src/imgcache.rs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/crates/notedeck/src/imgcache.rs b/crates/notedeck/src/imgcache.rs @@ -471,6 +471,7 @@ pub struct Images { pub base_path: path::PathBuf, pub static_imgs: MediaCache, pub gifs: MediaCache, + pub textures: TexturesCache, pub urls: UrlMimes, /// cached imeta data pub metadata: HashMap<String, ImageMetadata>, @@ -487,6 +488,7 @@ impl Images { urls: UrlMimes::new(UrlCache::new(path.join(UrlCache::rel_dir()))), gif_states: Default::default(), metadata: Default::default(), + textures: TexturesCache::new(path.clone()), } }