1 2 3 4 5
# 跨平台行尾统一:默认 text 转换 + Rust 源码强制 LF(Windows 检出也保持 LF,避免混合换行) * text=auto *.rs text eol=lf *.toml text eol=lf *.yml text eol=lf