π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
docs(rust): Add mandatory pre-commit checklist to CLAUDE.md
Manav Rathiab4792518f83
diff --git a/rust/CLAUDE.md b/rust/CLAUDE.mdindex afcd288e10..a3d105d035 100644--- a/rust/CLAUDE.md+++ b/rust/CLAUDE.md@@ -82,10 +82,30 @@ The project has completed foundational components (crypto, storage, models) and## Commit Guidelines+### Pre-commit Checklist (MANDATORY)+Before EVERY commit, run these commands in order:+```bash+# 1. Format code+cargo fmt++# 2. Auto-fix clippy warnings+cargo clippy --fix --allow-dirty --allow-staged++# 3. Verify no remaining warnings+cargo clippy -- -D warnings++# 4. Build with warnings as errors+RUSTFLAGS="-D warnings" cargo build++# 5. Check formatting one final time+cargo fmt --check+```++### Additional Guidelines- No promotional text like "Generated with [tool name]" - only keep the co-author line- Check `git status` before committing to avoid adding temporary/binary files- Never commit to main branch-- Ensure code passes `cargo fmt` and `cargo clippy` before committing+- All CI checks must pass - the above commands simulate CI locally## Environment Variables