forked from continuwuation/continuwuity
This just installs regular rustfmt, which is not needed in this project. One could say "It doesn't hurt", but in the NixOS dev shell it actually does since it will shadow nightly rustfmt and we don't have the `cargo +nightly fmt` synatx on NixOS that is available on other Distros. Also "It doesn't hurt" to delete it for non NixOS users.
24 lines
700 B
TOML
24 lines
700 B
TOML
# This is the authoritiative configuration of this project's Rust toolchain.
|
|
#
|
|
# Other files that need upkeep when this changes:
|
|
#
|
|
# * `Cargo.toml`
|
|
# * `flake.nix`
|
|
#
|
|
# Search in those files for `rust-toolchain.toml` to find the relevant places.
|
|
# If you're having trouble making the relevant changes, bug a maintainer.
|
|
|
|
[toolchain]
|
|
profile = "minimal"
|
|
channel = "1.89.0"
|
|
components = [
|
|
# For rust-analyzer
|
|
"rust-src",
|
|
"rust-analyzer",
|
|
# For CI and editors
|
|
"clippy",
|
|
# you have to install rustfmt nightly yourself (if you're not on NixOS)
|
|
#
|
|
# The rust-toolchain.toml file doesn't provide any syntax for specifying components from different toolchains
|
|
# "rustfmt"
|
|
]
|