From 511ad71a05eb6be45e20d814c9fa7ff8851ac7a4 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 15 Feb 2022 16:52:05 +0000 Subject: [PATCH] Bump `protobuf` to `~2.27.1` `protobuf 2.26` raised its MSRV to 1.52.1, which we are now above. `protobuf 2.27.0` raised its MSRV to 1.55.0, but this was reverted in `protobuf 2.27.1`. In any case, it's clear this dependency bumps MSRV in minor releases, so we should use tilde requirements for it. --- zcash_client_backend/Cargo.toml | 4 ++-- zcash_client_sqlite/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/zcash_client_backend/Cargo.toml b/zcash_client_backend/Cargo.toml index 7c12fc638..01f3cb810 100644 --- a/zcash_client_backend/Cargo.toml +++ b/zcash_client_backend/Cargo.toml @@ -26,7 +26,7 @@ log = "0.4" nom = "7" percent-encoding = "2.1.0" proptest = { version = "1.0.0", optional = true } -protobuf = ">=2.20,<2.26" # protobuf 2.26 bumped MSRV to 1.52.1 +protobuf = "~2.27.1" # MSRV 1.52.1 rand_core = "0.6" ripemd = { version = "0.1", optional = true } secp256k1 = { version = "0.20", optional = true } @@ -37,7 +37,7 @@ zcash_note_encryption = { version = "0.1", path = "../components/zcash_note_encr zcash_primitives = { version = "0.5", path = "../zcash_primitives" } [build-dependencies] -protobuf-codegen-pure = ">=2.20,<2.26" # protobuf 2.26 bumped MSRV to 1.52.1 +protobuf-codegen-pure = "~2.27.1" # MSRV 1.52.1 [dev-dependencies] gumdrop = "0.8" diff --git a/zcash_client_sqlite/Cargo.toml b/zcash_client_sqlite/Cargo.toml index 02d81ec5c..ed44455f3 100644 --- a/zcash_client_sqlite/Cargo.toml +++ b/zcash_client_sqlite/Cargo.toml @@ -18,7 +18,7 @@ bs58 = { version = "0.4", features = ["check"] } ff = "0.11" group = "0.11" jubjub = "0.8" -protobuf = ">=2.20,<2.26" # protobuf 2.26 bumped MSRV to 1.52.1 +protobuf = "~2.27.1" # MSRV 1.52.1 rand_core = "0.6" rusqlite = { version = "0.24", features = ["bundled", "time"] } secp256k1 = { version = "0.20" }