Files
tauri-meeting/src-tauri/rustfmt.toml
T
mxp131011 78af453fe1 chore: 初始化项目基础结构和资源文件
- 添加项目图标文件(app-icon.png、各平台图标)
- 配置开发环境文件(.env、.nvmrc、.npmrc)
- 添加静态资源文件(背景图片、字体、音频)
- 初始化Tauri后端结构(build.rs、main.rs、模块文件)
- 配置前端项目结构(TypeScript、Vue组件、样式)
- 添加Node.js API服务基础结构
- 配置构建和开发工具(vite、prettier、gitignore)
2026-03-13 10:03:05 +08:00

32 lines
923 B
TOML

# 最大行宽,超过此宽度将换行
max_width = 160
# 是否使用硬制表符,false表示使用空格
hard_tabs = false
# 制表符的空格数
tab_spaces = 4
# 换行符风格,"Auto"表示自动检测
newline_style = "Auto"
# 启发式换行策略,"Default"表示使用默认策略
use_small_heuristics = "Default"
# 是否重新排序导入语句
reorder_imports = true
# 是否重新排序模块
reorder_modules = true
# 是否删除嵌套括号
remove_nested_parens = true
# Rust版本,影响格式化规则
edition = "2024"
# 是否合并派生宏
merge_derives = true
# 是否将 Result<T, E> 转换为 ? 操作符
use_try_shorthand = true
# 是否使用字段初始化简写
use_field_init_shorthand = false
# 是否强制显式 ABI
force_explicit_abi = true
# 导入粒度,"Crate"表示按 crate 分组
imports_granularity = "Crate"
# 删除行尾的多余空格
remove_trailing_whitespace = true