# ==============================================================================
# RUST
# ==============================================================================

# Compilation artifacts
/target/
**/*.rs.bk
*.rlib
*.d

# Platform-specific libraries
*.so
*.dylib
*.dll
*.exe
*.pdb

# Cargo
Cargo.lock
.cargo/
.cargo_vcs_info.json

# Rustup
.rustup/
.rust-toolchain.toml

# Test, bench, and doc output
/benchmarks/
/tests/output/
/doc/

# Rust-analyzer cache
.rust-analyzer/

# ==============================================================================
# NODE.JS / NPM / VOCS DOCUMENTATION
# ==============================================================================

# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Package managers
.npm
.yarn/
.pnpm-store/

# Vocs build output
.vocs/
dist/
.next/
out/

# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# ==============================================================================
# DEVELOPMENT TOOLS
# ==============================================================================

# IDEs and editors
.idea/
.vscode/
*.swp
*.swo
*~
.sublime-workspace
.sublime-project

# Vim
*.vim
.vimrc.local

# Emacs
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*

# ==============================================================================
# OPERATING SYSTEMS
# ==============================================================================

# macOS
.DS_Store
.AppleDouble
.LSOverride
Icon?
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk

# Linux
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*

# ==============================================================================
# LOGS AND TEMP FILES
# ==============================================================================

# Logs
*.log
logs/
*.log.*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Runtime data
pids/
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage/
*.lcov
.nyc_output/

# ==============================================================================
# BLOCKCHAIN / CRYPTO
# ==============================================================================

# Private keys and secrets
*.key
*.pem
secrets/
.secret
.private
mnemonic.txt
private_key.txt

# ABI and contract artifacts (keep generated ones in source)
# artifacts/
# cache/

# ==============================================================================
# PROJECT SPECIFIC
# ==============================================================================

# Cursor AI
.cursorrules
.cursor/
cursor_rules/
references/
cursor_plan/
.cursorignore

# Local configuration
config.local.*
.local

# Backup files
*.bak
*.backup
*.orig

# Temporary files
*.tmp
*.temp
temp/
tmp/

# Cache directories
.cache/
*.cache

# ==============================================================================
# DEPLOYMENT
# ==============================================================================

# Vercel
.vercel

# Other deployment platforms
.netlify/
.firebase/
.amplify/

# ==============================================================================
# SECURITY
# ==============================================================================

# Environment files with sensitive data
.env*.local
.env.production
.env.staging

# SSH keys
id_rsa
id_ed25519
*.pub

# GPG keys
*.gpg
*.asc

# Certificate files
*.crt
*.cert
*.p12
*.pfx

# Node.js
node_modules/