# Normalise line endings to LF
* text=auto eol=lf

# Text files
*.rs text diff=rust
*.toml text
*.yml text
*.yaml text
*.json text
*.md text diff=markdown
*.sh text eol=lf

# Cargo lockfile — force manual conflict resolution
Cargo.lock text merge=binary

# Binary files
*.png binary
*.jpg binary
*.ico binary
*.tar.gz binary
*.tgz binary
*.zip binary

# Export ignore (excluded from `git archive`)
.gitattributes export-ignore
.gitignore export-ignore
.editorconfig export-ignore
.claude/ export-ignore
.github/ export-ignore
