# Auto-detect text files and normalize line endings
* text=auto

# Rust source files
*.rs text eol=lf
*.toml text eol=lf

# Shell scripts
*.sh text eol=lf
.githooks/* text eol=lf

# Windows batch files
*.bat text eol=crlf
*.cmd text eol=crlf

# Documentation
*.md text eol=lf
*.txt text eol=lf

# Config files
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.toon text eol=lf

# Lock files
Cargo.lock text eol=lf

# Binary files
*.png binary
*.jpg binary
*.gif binary
*.ico binary

# Prevent merge conflicts in generated files
Cargo.lock merge=binary
