tokio-rs / prost

PROST! a Protocol Buffers implementation for the Rust Language
Apache License 2.0
3.94k stars 508 forks source link

Support `debug_redact` field option #861

Open sebastianv89 opened 1 year ago

sebastianv89 commented 1 year ago

Protobuf v22 added the debug_redact field option, with the following intent:

// Indicate that the field value should not be printed out when using debug // formats, e.g. when the field contains sensitive credentials.

Can we support this in prost?

sebastianv89 commented 1 year ago

Possibly related: https://github.com/tokio-rs/prost/issues/795

AlJohri commented 1 year ago

Also possibly related: #334, #367