From 9122e8be3ad685b64f84118fe2a1e6efff923c2d Mon Sep 17 00:00:00 2001 From: Christopher Berner Date: Sat, 28 Feb 2026 19:32:22 -0800 Subject: [PATCH] Remove rustfmt options that require nightly --- .github/workflows/ci.yml | 4 ++-- Makefile | 4 ++-- rustfmt.toml | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59929a11..ffe4b20b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,7 +84,7 @@ jobs: - name: Install Rust run: | - rustup component add --toolchain nightly rustfmt + rustup component add rustfmt rustup component add clippy rustc --version cargo --version @@ -125,7 +125,7 @@ jobs: - name: Install Rust run: | - rustup component add --toolchain nightly rustfmt + rustup component add rustfmt rustup component add clippy rustc --version cargo --version diff --git a/Makefile b/Makefile index c7955b0b..9a76bacc 100644 --- a/Makefile +++ b/Makefile @@ -6,10 +6,10 @@ build: pre cargo build --examples --features=experimental format: - cargo +nightly fmt --all + cargo fmt --all pre: - cargo +nightly fmt --all -- --check + cargo fmt --all -- --check cargo deny check licenses cargo clippy --all-targets cargo clippy --all-targets --no-default-features diff --git a/rustfmt.toml b/rustfmt.toml index 46c3670c..265281bd 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,4 +1,2 @@ -group_imports = "StdExternalCrate" -imports_granularity = "Item" max_width = 100 style_edition = "2024"