summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2025-02-01 17:41:08 +1300
committerBen Bridle <ben@derelict.engineering>2025-02-01 17:41:08 +1300
commit35a4fc3c3e1871cb0b4a8bf243d5b97f0e827628 (patch)
treeef5ef9f672a5104b1225e06a98d244c3080881ee /Cargo.toml
parent480bc790bdf4c8e64bd7a3a99884a6bcc1e17055 (diff)
downloadtoaster-35a4fc3c3e1871cb0b4a8bf243d5b97f0e827628.zip
Set last-modified time of generated files same as source file
When generating a file from a source file, the last-modified time of the generated file will be set to be the same as the last-modified time of the source file. This is so that when copying the generated website to a server with rsync, only modified files will be copied over, saving considerable time. This commit also updates vagabond to the latest version which includes a change where files are only copied if they have been modified or if they haven't yet been copied. This saves considerable time when generating the website, if the website contains large static files.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index fcda53a..4234ef9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,7 @@ version = "1.7.0"
edition = "2021"
[dependencies]
-vagabond = { git = "git://benbridle.com/vagabond", tag = "v1.0.3" }
+vagabond = { git = "git://benbridle.com/vagabond", tag = "v1.1.0" }
markdown = { git = "git://benbridle.com/markdown", tag = "v3.1.0" }
recipe = { git = "git://benbridle.com/recipe", tag = "v1.4.0" }
xflags = "0.4.0-pre.1"