CI / fmt (rustfmt --check) (push) Waiting to run
CI / clippy (ubuntu-latest) (push) Waiting to run
CI / clippy (windows-latest) (push) Waiting to run
CI / test (ubuntu-latest) (push) Waiting to run
CI / test (windows-latest) (push) Waiting to run
CI / build release (ubuntu-latest) (push) Waiting to run
CI / build release (windows-latest) (push) Waiting to run
Guards / core 零 UI 守门 (push) Waiting to run
Guards / 文件行数 ≤400 守门 (push) Waiting to run
Guards / 依赖许可与来源(cargo-deny) (push) Waiting to run
单提交快照:main 只保留已发布版本的代码树,开发史在 dev。
35 lines
849 B
Plaintext
35 lines
849 B
Plaintext
# 换行策略:仓库内一律 LF(rustfmt 设 newline_style = "Unix",CI 在 Linux 上跑 fmt --check)。
|
||
# eol=lf 对工作区同样生效 —— Windows 克隆也不会被转换成 CRLF,避免「本地 fmt 过、CI fmt 挂」。
|
||
* text=auto eol=lf
|
||
|
||
# 明确为文本(显式列出,防止被误判成二进制)
|
||
*.rs text eol=lf
|
||
*.toml text eol=lf
|
||
*.md text eol=lf
|
||
*.slint text eol=lf
|
||
*.yml text eol=lf
|
||
*.yaml text eol=lf
|
||
*.json text eol=lf
|
||
Cargo.lock text eol=lf
|
||
|
||
# 二进制:不做换行转换、不做文本 diff
|
||
*.png binary
|
||
*.ico binary
|
||
*.icns binary
|
||
*.jpg binary
|
||
*.jpeg binary
|
||
*.gif binary
|
||
*.webp binary
|
||
*.ttf binary
|
||
*.otf binary
|
||
*.woff binary
|
||
*.woff2 binary
|
||
*.zip binary
|
||
*.7z binary
|
||
*.gz binary
|
||
*.tar binary
|
||
*.exe binary
|
||
*.dll binary
|
||
*.lib binary
|
||
*.pdb binary
|