From 758b7cd760ede738b78030bc2687cec6e8c99f0d Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 18 Apr 2025 02:29:22 +0200 Subject: [PATCH] Set rust toolchain --- .pre-commit-config.yaml | 2 +- rust-toolchain.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 rust-toolchain.toml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 24b1dd3..3132d55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,7 +54,7 @@ repos: - id: udeps name: unused description: Check for unused crates - entry: cargo udeps + entry: cargo +nightly udeps args: ["--workspace"] language: system types: [file] diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..5a632b9 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,4 @@ +[toolchain] +channel = "1.85" +profile = "default" +components = ["rust-analyzer"]