dep-protobuf/rust/test/cpp/debug.proto
Jakob Buchgraber 03687b798b #rust #protobuf Implement custom Debug for C++ kernel
This change implements a custom Debug for messages, views and muts in the C++ kernel. Debug defers to proto2::Utf8Format.

It implements this only for the C++ kernel. We will need to pull in additional dependencies beyond minitables to implement it for UPB as well. This will be done at a later point.

PiperOrigin-RevId: 613191236
2024-03-06 06:21:49 -08:00

8 lines
126 B
Protocol Buffer

syntax = "proto3";
package debug;
message DebugMsg {
int32 id = 1;
string secret_user_data = 2 [debug_redact = true];
}