mirror of
https://github.com/getzola/zola
synced 2024-12-13 22:02:29 +00:00
36ec33f042
Cache-busting was previously done with a compile-time timestamp. Change to the SHA-256 hash of the file to avoid refreshing unchanged files. The implementation could be used to add a new global fn (say, get_file_hash) for subresource integrity use, but that's for another commit. Fixes #519. Co-authored-by: Vincent Prouillet <balthek@gmail.com>
31 lines
598 B
TOML
31 lines
598 B
TOML
[package]
|
|
name = "templates"
|
|
version = "0.1.0"
|
|
authors = ["Vincent Prouillet <prouillet.vincent@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
tera = "1"
|
|
base64 = "0.12"
|
|
lazy_static = "1"
|
|
pulldown-cmark = "0.7"
|
|
toml = "0.5"
|
|
csv = "1"
|
|
image = "0.23"
|
|
serde_json = "1.0"
|
|
sha2 = "0.8"
|
|
url = "2"
|
|
|
|
errors = { path = "../errors" }
|
|
utils = { path = "../utils" }
|
|
library = { path = "../library" }
|
|
config = { path = "../config" }
|
|
imageproc = { path = "../imageproc" }
|
|
|
|
[dependencies.reqwest]
|
|
version = "0.10"
|
|
default-features = false
|
|
features = ["blocking", "rustls-tls"]
|
|
|
|
[dev-dependencies]
|
|
mockito = "0.25"
|