Specify mime version

Closes #1845
This commit is contained in:
Vincent Prouillet 2022-06-10 21:20:24 +02:00
parent 85a16d1d4b
commit d22f579b45
2 changed files with 4 additions and 0 deletions

1
Cargo.lock generated
View file

@ -3845,6 +3845,7 @@ dependencies = [
"errors",
"hyper",
"libs",
"mime",
"mime_guess",
"notify",
"open",

View file

@ -34,6 +34,9 @@ open = "2"
pathdiff = "0.2"
# For mimetype detection in serve mode
mime_guess = "2.0"
# For essence_str() function, see https://github.com/getzola/zola/issues/1845
mime = "0.3.16"
site = { path = "components/site" }
errors = { path = "components/errors" }