Skip to content

Commit 711a2c9

Browse files
committed
docs(CLAUDE.md): instruct Claude not to write Cargo.lock manually
Run `cargo check` after editing Cargo.toml so Cargo.lock is regenerated minimally; only run `cargo update` when explicitly requested.
1 parent 8f98d52 commit 711a2c9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

quickwit/CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ zip = { workspace = true, default-features = false, features=["deflate"] }
106106
to
107107
zip = "2"
108108

109+
Do not write Cargo.lock yourself.
110+
Instead, just may run `cargo check`, if you have edited Cargo.toml.
111+
It will update `Cargo.lock` with as little changes as possible.
112+
You may also run `cargo update` to update dependencies provide you were explicitly asked to update dependencies.
113+
109114
## Code Formatting
110115
### Quick Fix
111116

0 commit comments

Comments
 (0)