diff options
| author | Fuwn <[email protected]> | 2023-03-28 19:29:16 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-03-28 19:29:16 -0700 |
| commit | f3654286a982bc5807d6c3d25a4a45c2e89858f0 (patch) | |
| tree | a32a70d5288e2092bb05441c4c94d1a3bada4b45 | |
| parent | refactor(tags): lockup name (diff) | |
| download | locus-f3654286a982bc5807d6c3d25a4a45c2e89858f0.tar.xz locus-f3654286a982bc5807d6c3d25a4a45c2e89858f0.zip | |
deps(vergen): 7.0.0 -> 8.0.0
| -rw-r--r-- | Cargo.toml | 6 | ||||
| -rw-r--r-- | build.rs | 6 |
2 files changed, 8 insertions, 4 deletions
@@ -40,6 +40,8 @@ dotenv = "0.15.0" # .env File Support once_cell = "1.13.1" # Lazy Statics [build-dependencies] -vergen = "7.0.0" # Compile-time Environment Variables +vergen = { version = "8.0.0", features = [ + "git", + "gitoxide" +] } # Compile-time Environment Variables yarte = "0.15.6" # Templating Engine -anyhow = "1.0.56" # `Result` @@ -16,7 +16,9 @@ // Copyright (C) 2022-2022 Fuwn <[email protected]> // SPDX-License-Identifier: GPL-3.0-only -fn main() -> anyhow::Result<()> { +fn main() -> Result<(), Box<dyn std::error::Error>> { yarte::recompile::when_changed(); - vergen::vergen(vergen::Config::default()) + vergen::EmitBuilder::builder().git_sha(true).emit()?; + + Ok(()) } |