diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ba1522d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +# Enforce LF for all text files to prevent CRLF or mixed EOLs +* text=auto eol=lf + +# Treat common binary types as binary +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary +*.pdf binary +*.zip binary +*.gz binary +*.bz2 binary +*.xz binary +*.7z binary +*.tar binary +*.mp4 binary +*.mov binary +*.mp3 binary +*.wav binary +*.ttf binary +*.otf binary +*.woff binary +*.woff2 binary diff --git a/.gitignore b/.gitignore index f2bb475..62a07af 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,26 @@ -# SPDX-FileCopyrightText: 2025 Stanislaw Grams -# -# SPDX-License-Identifier: BSD-2-Clause - +# Rust /target/ +**/*.rs.bk +Cargo.lock + +# IDEs/Editors +/.idea/ +/.vscode/ +*.swp +*.swo + +# macOS +.DS_Store + +# Logs +*.log + +# Coverage/Bench +*.profraw +*.lcov +coverage/ +benchmarks/ + +# Env +.env +.env.*