Upgrade to vergen 5.1.18 (#3119)

Clone the `Config`, because it no longer implements `Copy`.

Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
This commit is contained in:
teor 2021-12-01 10:04:36 +10:00 committed by GitHub
parent c85ea18b43
commit ebc40f8af7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

4
Cargo.lock generated
View File

@ -3936,9 +3936,9 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
[[package]]
name = "vergen"
version = "5.1.17"
version = "5.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6cf88d94e969e7956d924ba70741316796177fa0c79a2c9f4ab04998d96e966e"
checksum = "1d48696c0fbbdafd9553e14c4584b4b9583931e9474a3ae506f1872b890d0b47"
dependencies = [
"anyhow",
"cfg-if 1.0.0",

View File

@ -50,7 +50,7 @@ sentry-tracing = "0.23.0"
rand = "0.8.4"
[build-dependencies]
vergen = { version = "5.1.17", default-features = false, features = ["cargo", "git"] }
vergen = { version = "5.1.18", default-features = false, features = ["cargo", "git"] }
[dev-dependencies]
abscissa_core = { version = "0.5", features = ["testing"] }

View File

@ -38,7 +38,7 @@ fn main() {
*config.cargo_mut().features_mut() = false;
// Disable git if we're building with an invalid `zebra/.git`
match vergen(config) {
match vergen(config.clone()) {
Ok(_) => {}
Err(e) => {
eprintln!(