chore: add a custom rustfmt configuration

This commit is contained in:
Harsh Shandilya 2022-03-07 01:25:22 +05:30
parent ea3ad1889c
commit 2ee2cdb107
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
1 changed files with 11 additions and 0 deletions

11
rustfmt.toml Normal file
View File

@ -0,0 +1,11 @@
comment_width = 80
group_imports = "StdExternalCrate"
imports_granularity = "Module"
max_width = 80
newline_style = "Unix"
normalize_comments = true
normalize_doc_attributes = true
reorder_impl_items = true
tab_spaces = 2
version = "Two"
wrap_comments = true