Commit Graph

9 Commits

Author SHA1 Message Date
klemens 6206d0ea58 Use std RwLock instead of the tokio one
tokio recommends to use the std synchronization primitives if the locked
value is just data instead of a shared resource.
2023-04-06 22:06:29 +02:00
klemens a7ade951aa Print listening address as info 2023-03-20 00:17:34 +01:00
klemens be24603fff Add simple in-memory cache for encoded images 2023-03-20 00:17:10 +01:00
klemens b2207e4f48 Switch to jemalloc to reduce memory usage 2023-03-20 00:13:34 +01:00
klemens 9b6a12f3da Sort images by creation date read from EXIF or file modify date 2023-03-13 23:10:14 +01:00
klemens 0480943093 Use encrypt image names in html 2023-03-13 21:33:29 +01:00
klemens 81b7339634 Implement basic error handling with anyhow 2023-03-12 21:11:30 +01:00
klemens 02dcb9d5d0 Fix some clippy lints 2023-03-10 22:00:51 +01:00
klemens 0af84a1ce8 Import initial working prototype 2023-03-10 19:00:12 +01:00