Add build script to make git version available in code

Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
pep 2026-01-08 23:16:01 +01:00
commit 457c40bffe
3 changed files with 57 additions and 0 deletions

View file

@ -27,6 +27,9 @@ hex = "0.4"
camino = { version = "1.2", features = ["serde1"] }
chrono = { version = "0.4", default-features = false }
[build-dependencies]
git2 = "0.20"
[patch.crates-io]
forgejo-hooks = { path = "forgejo-hooks" }