1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# RustDupe - .gitignore
#
# Cargo.lock Decision:
# This is a BINARY crate (produces an executable), so Cargo.lock IS committed.
# This ensures reproducible builds across all environments.
# For library crates, Cargo.lock would typically be ignored.
# Ralph - AI agent loop files
.ralph*
.opencode/plugin/ralph-write-guardrail.ts
# Rust build artifacts (added by cargo)
/target
# Backup files from rustfmt and other tools
*.rs.bk
# IDE patterns
# IntelliJ IDEA / CLion
.idea/
*.iml
# VS Code - ignore user settings but keep workspace recommendations
.vscode/*
!.vscode/settings.json
!.vscode/extensions.json
!.vscode/launch.json
!.vscode/tasks.json
# Vim / Neovim
*.swp
*.swo
*~
.nvim/
# Emacs
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
# OS-specific patterns
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
# Linux
*~
.directory
# Build artifacts in wrong locations (should only be in /target)
*.pdb
*.exe
*.dll
*.so
*.dylib
!target/**
# Environment and secrets (never commit these!)
.env
.env.local
.env.*.local
*.key
*.pem
credentials.json
# Test artifacts
*.profraw
*.profdata
coverage/
.coverage
# Benchmarking
criterion/
# Documentation generation (use 'cargo doc' instead)
/doc/
# RustDupe - User scan results and cache (prevent accidental commit of data)
*.db
*.db-journal
*.db-wal
session.json
report.html
delete.sh
delete.ps1
# Core dumps
core