fix: add --all to cargo fmt in script/test and autoformat codebase

cargo fmt without --all fails with "Failed to find targets" in
workspace repos. This was blocking every story's gates. Also ran
cargo fmt --all to fix all existing formatting issues.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
dave
2026-04-13 14:07:08 +00:00
parent ed2526ce41
commit 845b85e7a7
128 changed files with 3566 additions and 2395 deletions
+6 -6
View File
@@ -121,7 +121,11 @@ mod tests {
// ── helpers ──────────────────────────────────────────────────────────────
/// Build a fresh CRDT and return its keypair along with a signed insert op.
fn make_insert_op() -> (BaseCrdt<PipelineDoc>, bft_json_crdt::keypair::Ed25519KeyPair, SignedOp) {
fn make_insert_op() -> (
BaseCrdt<PipelineDoc>,
bft_json_crdt::keypair::Ed25519KeyPair,
SignedOp,
) {
let kp = make_keypair();
let mut crdt = BaseCrdt::<PipelineDoc>::new(&kp);
let item: JsonValue = json!({
@@ -172,11 +176,7 @@ mod tests {
fn roundtrip_delete_op() {
let (mut crdt, kp, insert_op) = make_insert_op();
// Delete the inserted item.
let delete_op = crdt
.doc
.items
.delete(insert_op.inner.id)
.sign(&kp);
let delete_op = crdt.doc.items.delete(insert_op.inner.id).sign(&kp);
crdt.apply(delete_op.clone());
let bytes = encode(&delete_op);