Page MenuHomePhabricator

[shared/grpc_clients] Export tonic to avoid version mismatch
ClosedPublic

Authored by jon on Aug 22 2023, 10:43 AM.
Tags
None
Referenced Files
F5899994: D8917.id30273.diff
Thu, Apr 17, 12:16 PM
F5896375: D8917.id30238.diff
Thu, Apr 17, 11:04 AM
F5893287: D8917.id.diff
Thu, Apr 17, 9:08 AM
Unknown Object (File)
Thu, Apr 17, 1:00 AM
Unknown Object (File)
Thu, Apr 17, 12:42 AM
Unknown Object (File)
Wed, Apr 16, 9:13 AM
Unknown Object (File)
Sat, Mar 29, 9:38 PM
Unknown Object (File)
Mar 16 2025, 11:05 PM
Subscribers

Details

Summary

If the consuming crate has a different version, then you will
get compilation errors when mismatching the different tonic versions.
Export tonic from grpc_clients to avoid this issues.

Also explicitly state that the build.rs should be re-ran if a proto
changes.

In support of https://linear.app/comm/issue/ENG-3977

Depends on D8891

Test Plan

Applied in next diff

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable