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.
This commit is contained in:
Jack Grigg 2022-02-15 16:52:05 +00:00
parent 12700b4c17
commit 511ad71a05
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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" }