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:
parent
c85ea18b43
commit
ebc40f8af7
|
|
@ -3936,9 +3936,9 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vergen"
|
name = "vergen"
|
||||||
version = "5.1.17"
|
version = "5.1.18"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "6cf88d94e969e7956d924ba70741316796177fa0c79a2c9f4ab04998d96e966e"
|
checksum = "1d48696c0fbbdafd9553e14c4584b4b9583931e9474a3ae506f1872b890d0b47"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"cfg-if 1.0.0",
|
"cfg-if 1.0.0",
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ sentry-tracing = "0.23.0"
|
||||||
rand = "0.8.4"
|
rand = "0.8.4"
|
||||||
|
|
||||||
[build-dependencies]
|
[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]
|
[dev-dependencies]
|
||||||
abscissa_core = { version = "0.5", features = ["testing"] }
|
abscissa_core = { version = "0.5", features = ["testing"] }
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ fn main() {
|
||||||
*config.cargo_mut().features_mut() = false;
|
*config.cargo_mut().features_mut() = false;
|
||||||
|
|
||||||
// Disable git if we're building with an invalid `zebra/.git`
|
// Disable git if we're building with an invalid `zebra/.git`
|
||||||
match vergen(config) {
|
match vergen(config.clone()) {
|
||||||
Ok(_) => {}
|
Ok(_) => {}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue