aboutsummaryrefslogtreecommitdiff
path: root/backend/rustfmt.toml
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-12-24 05:21:40 +0000
committerAkshay <[email protected]>2020-12-24 05:21:40 +0000
commit9d2b6ee10ec5359cc91769d430485c8c869ba1a8 (patch)
treeb2d541e575ab6e3f70cb709f156f06afca085881 /backend/rustfmt.toml
parent7c65421328552b08e64df25e224fe9d54d363e6e (diff)
monorepo
Diffstat (limited to 'backend/rustfmt.toml')
-rw-r--r--backend/rustfmt.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/backend/rustfmt.toml b/backend/rustfmt.toml
new file mode 100644
index 0000000..be4296e
--- /dev/null
+++ b/backend/rustfmt.toml
@@ -0,0 +1,15 @@
1max_width = 80
2hard_tabs = false
3tab_spaces = 4
4newline_style = "Auto"
5use_small_heuristics = "Default"
6reorder_imports = true
7reorder_modules = true
8remove_nested_parens = true
9fn_args_layout = "Tall"
10edition = "2018"
11merge_derives = true
12use_try_shorthand = false
13use_field_init_shorthand = false
14force_explicit_abi = true
15