[repo] Undo cargo fmt churn in files this branch does not change; CLAUDE.md: the trap

This commit is contained in:
2026-11-04 00:27:37 +01:00
parent 06410ab3be
commit 510d5eecd1
7 changed files with 34 additions and 113 deletions
+4
View File
@@ -51,3 +51,7 @@ On the dev machine set `CARGO_HOME=F:\C-Drive-Migration\future-caches\cargo` (C:
first, then a test, then the code.
- Branch → PR on Gitea (token in `$GITEA_TOKEN`, never echoed) → self-review in the PR body → merge `--no-ff`
→ push → `git rev-parse HEAD origin/main` → tag `vX.Y.Z` (the private app pins tags).
## Known traps
- `cargo fmt --all` reformats files that are not rustfmt-clean on `main` (custos-keys, custos-seal, custos-wasm and
some tests): run `rustfmt --edition 2024 <file>` on the files you changed, so a PR carries no unrelated churn.