Generate thumbnails before API starts up

Clients can now request a thumbnail by specifying a size on the image
request.
This commit is contained in:
Cameron Cordes
2020-07-15 12:06:50 -04:00
parent ca761f605b
commit 7d369aab5c
5 changed files with 305 additions and 8 deletions

View File

@@ -20,3 +20,6 @@ sha2 = "0.8.2"
chrono = "0.4.11"
dotenv = "0.15"
bcrypt = "0.8.1"
image = "0.23.7"
walkdir = "2"
rayon = "1.3"