🔧 添加 rust 格式化配置

This commit is contained in:
BTMuli
2023-10-20 14:01:22 +08:00
parent c12461ad43
commit 9b57909dc4
2 changed files with 10 additions and 0 deletions

9
src-tauri/rustfmt.toml Normal file
View File

@@ -0,0 +1,9 @@
# File rustfmt.toml
# Desc Rust 格式化配置文件
# Since Beta v0.3.3
max_width = 100
tab_spaces = 2
edition = "2018"
use_small_heuristics = "Max"
newline_style = "Auto"