-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrust-toolchain.toml
More file actions
18 lines (17 loc) · 857 Bytes
/
rust-toolchain.toml
File metadata and controls
18 lines (17 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Rust toolchain channel declaration.
#
# This file is read by rustup (local development) and dtolnay/rust-toolchain
# in GitHub Actions (via `toolchain: stable` in docker-publish.yml). Using
# "stable" means developers and CI always use the current stable release —
# both environments track the same moving target.
#
# When adopting a Rust feature that requires a specific minimum release (e.g.
# a new stdlib stabilisation), update the MSRV in Cargo.toml (`rust-version`)
# at the same time so `cargo check` enforces the floor.
[toolchain]
channel = "stable"
# clippy is required by CI (cargo clippy --deny warnings would fail without it).
# rustfmt is required for any formatting checks. A fresh `rustup` install from
# this file will include both so new contributors don't hit "clippy not found"
# after cloning.
components = ["clippy", "rustfmt"]