You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the switch to Tonic, the "well-known" protobuf types (google.protobuf.*) are now provided by the prost-types crate. Binary fields in that generated code use Vec<u8> (which is the default in Prost). We should configure Prost to compile well-known protobuf types itself so that we can have binary fields use Bytes instead, which is more efficient.
Doing this is straight-forward but is blocked by a bug in Tonic documented in hyperium/tonic#521 and potentially resolved by hyperium/tonic#522.
The text was updated successfully, but these errors were encountered:
In the switch to Tonic, the "well-known" protobuf types (google.protobuf.*) are now provided by the
prost-types
crate. Binary fields in that generated code useVec<u8>
(which is the default in Prost). We should configure Prost to compile well-known protobuf types itself so that we can have binary fields useBytes
instead, which is more efficient.Doing this is straight-forward but is blocked by a bug in Tonic documented in hyperium/tonic#521 and potentially resolved by hyperium/tonic#522.
The text was updated successfully, but these errors were encountered: