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
Unknown Object (File)
Tue, Apr 16, 11:37 PM
Unknown Object (File)
Tue, Apr 16, 11:37 PM
Unknown Object (File)
Tue, Apr 16, 11:37 PM
Unknown Object (File)
Tue, Apr 16, 7:55 AM
Unknown Object (File)
Tue, Apr 16, 7:39 AM
Unknown Object (File)
Fri, Apr 12, 4:18 PM
Unknown Object (File)
Fri, Apr 12, 4:15 PM
Unknown Object (File)
Fri, Apr 12, 4:14 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