kurtbuilds / ormlite

An ORM in Rust for developers that love SQL.
https://crates.io/crates/ormlite
MIT License
234 stars 13 forks source link

document rustfmt options #43

Closed nitn3lav closed 10 months ago

nitn3lav commented 10 months ago

The code doesn't seem to be formatted with the default rustfmt config. Because format on save is enabled in my editor, this means that large parts of the code are automatically reformatted. It would be nice if you could document which rustfmt options you use by adding a rustfmt.toml.

kurtbuilds commented 10 months ago

It's using IntelliJ formatting, which isn't deterministic.

You should be able to add an rustfmt.tml with disable_all_formatting = true to turn off your editor configuration. I'll happily accept that as a separate or part of a featureful PR