# Normalize line endings: text files use LF in the repo, regardless of OS.
* text=auto eol=lf
# Rust source — explicitly text/LF
*.rs text eol=lf
*.toml text eol=lf
*.md text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.json text eol=lf
# Windows-only files use CRLF
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Binary assets — never diff, never normalize
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.ttf binary
*.otf binary
*.woff binary
*.woff2 binary
# Lockfiles — text but no merge/diff noise
Cargo.lock text eol=lf merge=binary
# Linguist hints (clean GitHub language stats)
assets/** linguist-vendored
tests/fixtures/** linguist-vendored
docs/book/** linguist-generated