about summary refs log tree commit diff
path: root/templates/rust/rust-toolchain.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/rust-toolchain.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 '')
-rw-r--r--templates/rust/rust-toolchain.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/rust/rust-toolchain.toml b/templates/rust/rust-toolchain.toml
new file mode 100644
index 0000000..e7ae097
--- /dev/null
+++ b/templates/rust/rust-toolchain.toml
@@ -0,0 +1,3 @@
+[toolchain]
+channel = "1.64.0"
+components = [ "rustfmt", "clippy" ]