From ddccdf2babe86c0b6e124131979d8150c93f01c2 Mon Sep 17 00:00:00 2001 From: atlas Date: Tue, 18 Aug 2026 10:39:58 +0200 Subject: [PATCH] chore(#3422): drop swarmctl's now-unused serde_json dependency Its last call sites were the JSON store's to_string_pretty/from_str, which this branch replaced with serde_norway. Nothing in swarmctl/src names it any more. Caught by argus, and it is the second time: the same reviewer found a dead reqwest in swarm-controller after a move earlier this week. No lint in this workspace sees an unused dependency, so both were green locally and in CI -- a move has two sides and my gate only looked at one. My local gate now carries an advisory check for it. --- Cargo.lock | 1 - swarmctl/Cargo.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e68af4c4..ad8ee01a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4662,7 +4662,6 @@ dependencies = [ "clap-markdown", "clap_complete", "serde", - "serde_json", "serde_norway", ] diff --git a/swarmctl/Cargo.toml b/swarmctl/Cargo.toml index 74591b59..58095c99 100644 --- a/swarmctl/Cargo.toml +++ b/swarmctl/Cargo.toml @@ -14,7 +14,6 @@ clap.workspace = true clap-markdown = "0.1" clap_complete.workspace = true serde.workspace = true -serde_json.workspace = true serde_norway = "0.9.42" [lints]