You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2025/07/24 08:55:17 UTC

(avro-rs) branch delete-rustfmt.toml created (now 2bcc3b3)

This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a change to branch delete-rustfmt.toml
in repository https://gitbox.apache.org/repos/asf/avro-rs.git


      at 2bcc3b3  chore: Delete rustfmt.toml

This branch includes the following new commits:

     new 2bcc3b3  chore: Delete rustfmt.toml

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(avro-rs) 01/01: chore: Delete rustfmt.toml

Posted by mg...@apache.org.
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 <mg...@apache.org>
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 <mg...@apache.org>
---
 .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"