Skip to content

Commit

Permalink
Merge pull request #1446 from zcash/tonic-0.12
Browse files Browse the repository at this point in the history
zcash_client_backend: Migrate to `tonic 0.12` with `http 1`
  • Loading branch information
nuttycom authored Jul 15, 2024
2 parents 34cf6d2 + 270eec2 commit 73d0c5b
Show file tree
Hide file tree
Showing 10 changed files with 189 additions and 101 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ jobs:
run: cargo add --no-default-features --path ../crates/zcash_proofs
- name: Add zcash_client_backend as a dependency of the synthetic crate
working-directory: ./ci-build
run: cargo add --features lightwalletd-tonic --path ../crates/zcash_client_backend
run: cargo add --path ../crates/zcash_client_backend
- name: Copy pinned dependencies into synthetic crate
run: cp crates/Cargo.lock ci-build/
- name: Add target
Expand Down
142 changes: 98 additions & 44 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ maybe-rayon = { version = "0.1.0", default-features = false }
rayon = "1.5"

# Protobuf and gRPC
prost = "0.12"
tonic = { version = "0.11", default-features = false }
tonic-build = { version = "0.11", default-features = false }
prost = "0.13"
tonic = { version = "0.12", default-features = false }
tonic-build = { version = "0.12", default-features = false }

# Secret management
secrecy = "0.8"
Expand Down
Loading

0 comments on commit 73d0c5b

Please sign in to comment.