tokio-rs / prost

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

Consider placing `Config::format` behind a feature flag. #1021

Closed gibbz00 closed 5 months ago

gibbz00 commented 6 months ago

https://github.com/tokio-rs/prost/blob/50bab4ff9f5bae1cde6b54d6de02107d30f11453/prost-build/src/lib.rs#L940-L944

Think it is better to create a compile time error when someone is trying to enable/disable formatting when it isn't enabled.