[pbs-devel] [PATCH proxmox 01/15] daemon: Remove unused once_cell dependency

Maximiliano Sandoval m.sandoval at proxmox.com
Wed Aug 14 11:18:28 CEST 2024


Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
This series removes multiple unused dependencies. It depends on the previous series removing lazy-static.

These were detected using:

    cargo machete --fix

Some macros have imports under the hood so Machete can produce false-positives for regex and serde for example.

This was tested building proxmox with

    cargo build --workspace --all-targets --all-features

and when building the project as a dependency of the following projects:
 - pbs
 - pve-rs
 - pmg-rs
 - pom

 proxmox-daemon/Cargo.toml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/proxmox-daemon/Cargo.toml b/proxmox-daemon/Cargo.toml
index 13bb3bc8..6bc30421 100644
--- a/proxmox-daemon/Cargo.toml
+++ b/proxmox-daemon/Cargo.toml
@@ -17,7 +17,6 @@ futures.workspace = true
 libc.workspace = true
 log.workspace = true
 nix.workspace = true
-once_cell.workspace = true
 serde.workspace = true
 serde_json.workspace = true
 tokio = { workspace = true, features = ["io-util", "net", "rt", "signal", "sync"] }
-- 
2.39.2





More information about the pbs-devel mailing list