about summary refs log tree commit diff
path: root/templates/rust/rustfmt.toml
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-10-22 11:16:47 -0700
committerFranck Cuny <franck@fcuny.net>2022-10-22 11:19:10 -0700
commite787305ee978b5939f67dcea33593bc931a544aa (patch)
treed4ec9d2b8072c72dfd4e20eb4b717fb3905c2536 /templates/rust/rustfmt.toml
parentref(tools/python): make mypy happy (diff)
downloadworld-e787305ee978b5939f67dcea33593bc931a544aa.tar.gz
feat(templates): add a template for rust
To use it, run:
```
nix flake init -t github:fcuny/world#rust
```
Diffstat (limited to 'templates/rust/rustfmt.toml')
-rw-r--r--templates/rust/rustfmt.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/rust/rustfmt.toml b/templates/rust/rustfmt.toml
new file mode 100644
index 0000000..3a26366
--- /dev/null
+++ b/templates/rust/rustfmt.toml
@@ -0,0 +1 @@
+edition = "2021"