aboutsummaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authoradrien <adrien@luxeylab.net>2021-09-11 16:34:03 +0200
committeradrien <adrien@luxeylab.net>2021-09-11 16:34:03 +0200
commitf7200709059c00e74cb25f5d8967d81a834f6bb8 (patch)
treedab43a23074cbdf41f2ce3740532957f604af779 /.rustfmt.toml
parentfa25c54e47decf9f323ba0c614f4d9de106626d5 (diff)
downloaddiplonat-f7200709059c00e74cb25f5d8967d81a834f6bb8.tar.gz
diplonat-f7200709059c00e74cb25f5d8967d81a834f6bb8.zip
added rustfmt: a rustfmt.toml file diescribing syntax (soft tabs of 2 spaces), a CONTRIBUTING.md file to explain how to use rustfmt, a .drone.yml file to add code style checks in CI, 2 lines in README.md to present CONTRIBUTING.md, and applied rustfmt on the source
Diffstat (limited to '.rustfmt.toml')
-rw-r--r--.rustfmt.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml
new file mode 100644
index 0000000..f0fa07f
--- /dev/null
+++ b/.rustfmt.toml
@@ -0,0 +1,2 @@
+hard_tabs = false
+tab_spaces = 2