diff options
Diffstat (limited to 'rustfmt.toml')
| -rw-r--r-- | rustfmt.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..bcf7279 --- /dev/null +++ b/rustfmt.toml | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | unstable_features = true | ||
| 2 | version = "Two" | ||
| 3 | |||
| 4 | # Imports | ||
| 5 | imports_granularity = "Crate" | ||
| 6 | group_imports = "StdExternalCrate" | ||
| 7 | |||
| 8 | # Consistency | ||
| 9 | newline_style = "Unix" | ||
| 10 | |||
| 11 | # Comments | ||
| 12 | wrap_comments = true | ||
| 13 | format_code_in_doc_comments = true | ||