From 711a2c99e185d6284158e085e054ca64c23a0d63 Mon Sep 17 00:00:00 2001 From: fulmicoton Date: Mon, 4 May 2026 10:52:53 +0200 Subject: [PATCH] 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. --- quickwit/CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/quickwit/CLAUDE.md b/quickwit/CLAUDE.md index fff22d71b84..b85f7a8dadc 100644 --- a/quickwit/CLAUDE.md +++ b/quickwit/CLAUDE.md @@ -106,6 +106,11 @@ zip = { workspace = true, default-features = false, features=["deflate"] } to zip = "2" +Do not write Cargo.lock yourself. +Instead, just may run `cargo check`, if you have edited Cargo.toml. +It will update `Cargo.lock` with as little changes as possible. +You may also run `cargo update` to update dependencies provide you were explicitly asked to update dependencies. + ## Code Formatting ### Quick Fix