Commit graph

4 commits

Author SHA1 Message Date
Timothy Flynn
c5bb98bcf0 Meta: Revert to a stable rust compiler
Let's not depend on a nightly pre-release, especially not just for a
linting option. We can enable the linter option once it lands in the
stable release.
2026-06-02 20:12:41 +02:00
Vanand Gasparyan
f3a3488cda Rust: Set import granularity to Item
By default, `rustfmt` persists the import granularity. In practice, most
Rust code has import granularity "Module" due to LSP's actions.

"Item" gets rid of import groupings and achieves cleaner diffs and
better conflict resolution. Better greppability is a positive side
effect.

Note: it's an unstable rustfmt feature. `cargo +nightly fmt` must be
used instead of `cargo fmt`.
2026-05-28 06:52:18 +02:00
Tim Ledbetter
e1a12bcbcb Meta: Pin Rust toolchain version
This should prevent CI failures on toolchain updates in the future.
2026-04-16 23:42:22 +02:00
Andrew Kaster
70dc2ff2ed Meta: Add a rust-toolchain toml file to pin required rust version
Some developers might have interesting rust versions installed and set
as their default via `rustup default`, but we want to make sure that
everyone is using the same version as CI.
2026-03-02 10:10:04 +01:00