about summary refs log tree commit diff stats
path: root/crates/termsize/rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'crates/termsize/rustfmt.toml')
-rw-r--r--crates/termsize/rustfmt.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/crates/termsize/rustfmt.toml b/crates/termsize/rustfmt.toml
new file mode 100644
index 0000000..a1f6495
--- /dev/null
+++ b/crates/termsize/rustfmt.toml
@@ -0,0 +1,16 @@
+# yt - A fully featured command line YouTube client
+#
+# Copyright (C) 2025 softprops <d.tangren@gmail.com>
+# SPDX-License-Identifier: MIT
+#
+# 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"
+# 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