Mention that we use rustfmt for code formatting

...and add a `rustfmt.toml` as advised in https://www.reddit.com/r/rust/comments/9jl6a9/pro_tip_if_you_use_cargo_fmtrustfmt_use_a/
This commit is contained in:
Nickolay Ponomarev 2019-04-23 01:00:23 +03:00
parent 037c6dab93
commit f82dc74e38
2 changed files with 3 additions and 0 deletions

View file

@ -51,3 +51,5 @@ This is a work in progress but I started some notes on [writing a custom SQL par
## Contributing
Contributors are welcome! Please see the [current issues](https://github.com/andygrove/sqlparser-rs/issues) and feel free to file more!
Please run [cargo fmt](https://github.com/rust-lang/rustfmt#on-the-stable-toolchain) to ensure the code is properly formatted.

1
rustfmt.toml Normal file
View file

@ -0,0 +1 @@
# We use rustfmt's default settings to format the source code