sfackler / rust-openssl

OpenSSL bindings for Rust
1.4k stars 752 forks source link

Explicit rustfmt config #2285

Closed kornelski closed 2 months ago

kornelski commented 2 months ago

I have my custom rustfmt configuration, which automatically "breaks" formatting in projects that assume the default formatting. This change explicitly selects the formatting that is required.

alex commented 2 months ago

Hmm, is this typical? It seems to me that part of the point of using defaults it not needing to configure anything :-)

kornelski commented 2 months ago

Rustfmt supports system-wide configuration.

I need to use non-default config, which clashes with projects that demand rustfmt-formatted code assuming defaults.