zcash_client_backend: Migrate to `prost 0.12`, `tonic 0.10`

This commit is contained in:
Jack Grigg 2023-09-08 16:21:34 +00:00
parent 1fe763de5f
commit 6e34e2d113
4 changed files with 7 additions and 6 deletions

View File

@ -58,7 +58,8 @@ and this library adheres to Rust's notion of
### Changed
- MSRV is now 1.65.0.
- Bumped dependencies to `hdwallet 0.4`, `zcash_primitives 0.13`, `zcash_note_encryption 0.4`,
`incrementalmerkletree 0.4`, `orchard 0.5`, `bs58 0.5`, `tempfile 3.5.0`
`incrementalmerkletree 0.4`, `orchard 0.5`, `bs58 0.5`, `tempfile 3.5.0`, `prost 0.12`,
`tonic 0.10`.
- `zcash_client_backend::data_api`:
- `WalletRead::TxRef` has been removed in favor of consistently using `TxId` instead.
- `WalletRead::get_transaction` now takes a `TxId` as its argument.

View File

@ -46,8 +46,8 @@ tracing = "0.1"
# - Protobuf interfaces and gRPC bindings
hex = "0.4"
prost = "0.11"
tonic = { version = "0.9", optional = true }
prost = "0.12"
tonic = { version = "0.10", optional = true }
# - Secret management
secrecy = "0.8"
@ -75,7 +75,7 @@ crossbeam-channel = "0.5"
rayon = "1.5"
[build-dependencies]
tonic-build = "0.9"
tonic-build = "0.10"
which = "4"
[dev-dependencies]

View File

@ -19,7 +19,7 @@ and this library adheres to Rust's notion of
### Changed
- MSRV is now 1.65.0.
- Bumped dependencies to `hdwallet 0.4`, `incrementalmerkletree 0.4`, `bs58 0.5`,
`zcash_primitives 0.12`
`zcash_primitives 0.12`, `prost 0.12`.
- A `CommitmentTree` variant has been added to `zcash_client_sqlite::wallet::init::WalletMigrationError`
- `min_confirmations` parameter values are now more strongly enforced. Previously,
a note could be spent with fewer than `min_confirmations` confirmations if the

View File

@ -31,7 +31,7 @@ tracing = "0.1"
# - Serialization
byteorder = "1"
prost = "0.11"
prost = "0.12"
group = "0.13"
jubjub = "0.10"