Encourage contributors to use latest stable via `rust-toolchain.toml` (#63)
This ensures that everyone, including CI, uses the same version of the Rust toolchain. The main benefit is that CI should no longer fail due to differences between developer and CI configuration. Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Semantic delta
No definition changed: this change is text, documentation or data.
1 files · +8 −0
- rust-toolchain.toml +8 −0
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
new file mode 100644
index 000000000..9e2a10b21
--- /dev/null
+++ b/rust-toolchain.toml
@@ -0,0 +1,8 @@
+[toolchain]
+channel = "stable"
+profile = "minimal"
+components = [
+ "clippy",
+ "rust-src",
+ "rustfmt",
+]