[PATCH datacenter-manager] remove unused dependencies

Lukas Wagner
2026-04-22T08:33:47Z

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---

Notes:
Stumbled over these when checking our usage of handlebars in PDM.

Checked by hand, so I might not have caught everything.

Checked a `make sbuild`, builds fine here.

Cargo.toml | 10 ----------
debian/control | 4 ----
lib/pdm-client/Cargo.toml | 1 -
server/Cargo.toml | 4 ----
4 files changed, 19 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index ec2aa3dc..0f784c02 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -100,11 +100,8 @@ proxmox-fido2 = { path = "cli/proxmox-fido2" }
anyhow = "1.0"
async-stream = "0.3"
async-trait = "0.1"
-bitflags = "2.4"
const_format = "0.2"
futures = "0.3"
-h2 = { version = "0.4", features = [ "stream" ] }
-handlebars = "5.1"
hex = "0.4.3"
http = "1"
http-body-util = "0.1.2"
@@ -122,17 +119,10 @@ serde = { version = "1.0", features = ["derive"] }
serde_cbor = "0.11.1"
serde_json = "1.0"
serde_plain = "1"
-syslog = "6"
-termcolor = "1.1.2"
thiserror = "1.0"
tokio = "1.6"
-tokio-openssl = "0.6.1"
-tokio-stream = "0.1.0"
-tokio-util = { version = "0.7", features = [ "io" ] }
-tower-service = "0.3.0"
tracing = "0.1"
url = "2.1"
-walkdir = "2"
webauthn-rs-core = "0.5"
xdg = "2.2"
zstd = { version = "0.13" }
diff --git a/debian/control b/debian/control
index 4ddc9efc..3f14090e 100644
--- a/debian/control
+++ b/debian/control
@@ -103,7 +103,6 @@ Build-Depends: debhelper-compat (= 13),
librust-proxmox-time-api-1+default-dev,
librust-proxmox-time-api-1+impl-dev,
librust-proxmox-upgrade-checks-1+default-dev,
- librust-proxmox-uuid-1+default-dev,
librust-pve-api-types-8.1+client-dev (>= 8.1.5-~~),
librust-pve-api-types-8.1+default-dev (>= 8.1.5-~~),
librust-regex-1+default-dev (>= 1.5.5-~~),
@@ -112,8 +111,6 @@ Build-Depends: debhelper-compat (= 13),
librust-serde-cbor-0.11+default-dev (>= 0.11.1-~~),
librust-serde-json-1+default-dev,
librust-serde-plain-1+default-dev,
- librust-syslog-6+default-dev,
- librust-termcolor-1+default-dev (>= 1.1.2-~~),
librust-tokio-1+default-dev (>= 1.6-~~),
librust-tokio-1+fs-dev (>= 1.6-~~),
librust-tokio-1+io-std-dev (>= 1.6-~~),
@@ -126,7 +123,6 @@ Build-Depends: debhelper-compat (= 13),
librust-tokio-1+rt-multi-thread-dev (>= 1.6-~~),
librust-tokio-1+signal-dev (>= 1.6-~~),
librust-tokio-1+time-dev (>= 1.6-~~),
- librust-tokio-stream-0.1+default-dev,
librust-tracing-0.1+default-dev,
librust-url-2+default-dev (>= 2.1-~~),
librust-webauthn-rs-core-0.5+default-dev,
diff --git a/lib/pdm-client/Cargo.toml b/lib/pdm-client/Cargo.toml
index fe5ddf76..bb41b87b 100644
--- a/lib/pdm-client/Cargo.toml
+++ b/lib/pdm-client/Cargo.toml
@@ -9,7 +9,6 @@ license.workspace = true
repository.workspace = true

[dependencies]
-percent-encoding.workspace = true
serde.workspace = true
serde_json.workspace = true

diff --git a/server/Cargo.toml b/server/Cargo.toml
index 6969549f..0d6371d1 100644
--- a/server/Cargo.toml
+++ b/server/Cargo.toml
@@ -27,10 +27,7 @@ openssl.workspace = true
percent-encoding.workspace = true
serde.workspace = true
serde_json.workspace = true
-serde_plain.workspace = true
-syslog.workspace = true
tokio = { workspace = true, features = [ "fs", "io-util", "io-std", "macros", "net", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "time" ] }
-tokio-stream.workspace = true
tracing.workspace = true
url.workspace = true
zstd.workspace = true
@@ -60,7 +57,6 @@ proxmox-sys = { workspace = true, features = [ "timer" ] }
proxmox-systemd.workspace = true
proxmox-tfa = { workspace = true, features = [ "api" ] }
proxmox-time.workspace = true
-proxmox-uuid.workspace = true

proxmox-apt = { workspace = true, features = [ "cache" ] }
proxmox-apt-api-types.workspace = true
--
2.47.3