tree-wide: add serde derive where actually needed

Fixes building each crate on their own.

In a full build (e.g. `make deb`), everything pulls in serde with the
`derive` feature anyway and thus does not exihibit any build failures.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
Christoph Heiss 2024-11-12 13:49:08 +01:00 committed by Thomas Lamprecht
parent 524c796ceb
commit e3ecca02d9
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ homepage = "https://www.proxmox.com"
[dependencies]
anyhow.workspace = true
regex.workspace = true
serde.workspace = true
serde = { workspace = true, features = [ "derive" ] }
serde_json.workspace = true
serde_plain.workspace = true

View File

@ -14,5 +14,5 @@ homepage = "https://www.proxmox.com"
anyhow.workspace = true
proxmox-auto-installer.workspace = true
proxmox-installer-common = { workspace = true, features = ["http"] }
serde.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true

View File

@ -9,7 +9,7 @@ homepage = "https://www.proxmox.com"
[dependencies]
proxmox-installer-common.workspace = true
serde.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
regex.workspace = true