Skip to content

Commit

Permalink
zcash_client_backend: Migrate to tonic-build 0.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Dec 30, 2024
1 parent 84fdb1f commit 30f2e7a
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 46 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ rayon = "1.5"
# Protobuf and gRPC
prost = "0.13"
tonic = { version = "0.12", default-features = false }
tonic-build = { version = "0.12", default-features = false }
tonic-build = { version = "0.12.3", default-features = false }

# Secret management
secrecy = "0.8"
Expand Down
6 changes: 6 additions & 0 deletions supply-chain/audits.toml
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,12 @@ who = "Jack Grigg <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.12.0 -> 0.12.1"

[[audits.tonic-build]]
who = "Jack Grigg <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.12.1 -> 0.12.3"
notes = "Changes to generated code make sense and don't result in anything unexpected."

[[audits.utf8parse]]
who = "Jack Grigg <[email protected]>"
criteria = "safe-to-run"
Expand Down
2 changes: 1 addition & 1 deletion zcash_client_backend/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fn build() -> io::Result<()> {
".cash.z.wallet.sdk.rpc.CompactOrchardAction",
"crate::proto::compact_formats::CompactOrchardAction",
)
.compile(&[SERVICE_PROTO], &["proto/"])?;
.compile_protos(&[SERVICE_PROTO], &["proto/"])?;

// Build the proposal types.
tonic_build::compile_protos(PROPOSAL_PROTO)?;
Expand Down
71 changes: 29 additions & 42 deletions zcash_client_backend/src/proto/service.rs

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

0 comments on commit 30f2e7a

Please sign in to comment.