This is an automated email from the ASF dual-hosted git repository. mgrigorov pushed a commit to branch delete-rustfmt.toml in repository https://gitbox.apache.org/repos/asf/avro-rs.git
commit 2bcc3b39b13ca3121aac5357eb2c44e9f8402e11 Author: Martin Tzvetanov Grigorov <[email protected]> AuthorDate: Thu Jul 24 11:52:56 2025 +0300 chore: Delete rustfmt.toml Its `edition` entry seems to be ignored anyway. Passing `--version` option shows that edition 2024 is being used. The `imports_granularity` setting is unstable and available only in nightly Pass `--check` option directly to `cargo fmt` Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> --- .github/workflows/test-lang-rust-ci.yml | 2 +- rustfmt.toml | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/workflows/test-lang-rust-ci.yml b/.github/workflows/test-lang-rust-ci.yml index f03a10d..3691e52 100644 --- a/.github/workflows/test-lang-rust-ci.yml +++ b/.github/workflows/test-lang-rust-ci.yml @@ -97,7 +97,7 @@ jobs: - name: Rust Format if: matrix.runner.target != 'wasm32-unknown-unknown' - run: cargo fmt --all -- --check + run: cargo fmt --all --check - name: Rust Build run: cargo build --all-features --all-targets diff --git a/rustfmt.toml b/rustfmt.toml deleted file mode 100644 index 90ae52c..0000000 --- a/rustfmt.toml +++ /dev/null @@ -1,19 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -edition = "2018" -imports_granularity="Crate"
