# Git attributes — força line endings LF em todos os arquivos de texto.
# Resolve problema de CRLF em Windows que pode quebrar `cargo fmt --check`.

# Padrão para todos os arquivos: LF (Unix-style).
*               text=auto eol=lf

# Forçar LF explicitamente em linguagens de programação.
*.rs            text eol=lf
*.toml          text eol=lf
*.yaml          text eol=lf
*.yml           text eol=lf
*.json          text eol=lf
*.md            text eol=lf
*.sh            text eol=lf
*.bash          text eol=lf
*.py            text eol=lf
*.js            text eol=lf
*.ts            text eol=lf
*.lock          text eol=lf
Cargo.lock      text eol=lf

# Arquivos binários não devem ter line ending conversion.
*.png           binary
*.jpg           binary
*.jpeg          binary
*.gif           binary
*.ico           binary
*.pdf           binary
*.zip           binary
*.tar.gz        binary
*.tar           binary
*.exe           binary
*.dll           binary
*.so            binary
*.dylib         binary
*.a             binary

# Git LFS para arquivos grandes (se aplicável no futuro).
# *.psd          filter=lfs diff=lfs merge=lfs -text
# *.zip          filter=lfs diff=lfs merge=lfs -text
