about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-16 18:10:18 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-16 18:10:18 +0100
commitae13afa1aeb8aaed94b1d72aa6207bbfe373dd52 (patch)
tree5015cebdb1e6fb85620f192147b234add2395cf0
parentfix(crates/termsize): Remove all of `clippy`'s warnings (diff)
downloadyt-ae13afa1aeb8aaed94b1d72aa6207bbfe373dd52.zip
build(rustfmt.toml): Add
-rw-r--r--rustfmt.toml (renamed from crates/termsize/rustfmt.toml)23
1 files changed, 18 insertions, 5 deletions
diff --git a/crates/termsize/rustfmt.toml b/rustfmt.toml
index a1f6495..d13b0eb 100644
--- a/crates/termsize/rustfmt.toml
+++ b/rustfmt.toml
@@ -1,16 +1,29 @@
 # yt - A fully featured command line YouTube client
 #
-# Copyright (C) 2025 softprops <d.tangren@gmail.com>
-# SPDX-License-Identifier: MIT
+# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
 #
 # This file is part of Yt.
 #
 # You should have received a copy of the License along with this program.
 # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
 
-# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#fn_params_layout
-fn_params_layout = "Vertical"
 # https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#imports_granularity
 imports_granularity = "Crate"
+group_imports = "StdExternalCrate"
+
 # https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#format_code_in_doc_comments
-format_code_in_doc_comments = true
\ No newline at end of file
+format_code_in_doc_comments = true
+
+style_edition = "2024"
+edition = "2024"
+
+wrap_comments = true
+format_strings = true
+
+error_on_line_overflow = true
+error_on_unformatted = true
+
+format_macro_matchers = true
+
+reorder_impl_items = true