summaryrefslogtreecommitdiff
path: root/src-tauri/rustfmt.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-02-21 18:30:25 -0800
committerGitHub <[email protected]>2021-02-21 18:30:25 -0800
commit1a8d4449192b17c67f615faef44a1993efbac142 (patch)
tree3732be235698b60ba71622a95da719bc2480de0f /src-tauri/rustfmt.toml
downloadtauri-vue-1a8d4449192b17c67f615faef44a1993efbac142.tar.xz
tauri-vue-1a8d4449192b17c67f615faef44a1993efbac142.zip
Diffstat (limited to 'src-tauri/rustfmt.toml')
-rw-r--r--src-tauri/rustfmt.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src-tauri/rustfmt.toml b/src-tauri/rustfmt.toml
new file mode 100644
index 0000000..45642c1
--- /dev/null
+++ b/src-tauri/rustfmt.toml
@@ -0,0 +1,13 @@
+max_width = 100
+hard_tabs = false
+tab_spaces = 2
+newline_style = "Auto"
+use_small_heuristics = "Default"
+reorder_imports = true
+reorder_modules = true
+remove_nested_parens = true
+edition = "2018"
+merge_derives = true
+use_try_shorthand = false
+use_field_init_shorthand = false
+force_explicit_abi = true