Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@nicoburniske nicoburniske released this 05 Feb 17:05

What's Changed

  • Remove lazy_static Arc<RwLock<HashMap<CachedImage, String>>> in favor of ImageOptimizer struct that contains Arc<Dashmap<CachedImage, String>>
  • Remove cache and introspect modules. Only dynamic caching at runtime is supported
  • Add semaphore to limit concurrent image processing requests. Image processing is extremely cpu intensive and without semaphore you can easily blow up your server.
  • Add trait for adding route to router. Still need to make the route configurable
  • Make route configurable
  • Make cache file path configurable

Full Changelog: https://github.com/nicoburniske/leptos_image/commits/v0.2.0