From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox stable-bookworm] network-api: only depend on proxmox-ve-config with 'impl' feature
Date: Wed, 13 Aug 2025 10:20:39 +0200 [thread overview]
Message-ID: <20250813082039.1123484-1-d.csapak@proxmox.com> (raw)
we only use this crate in src/config/helper.rs, and the whole config
module is guarded by the 'impl' feature, so the dependency should only
be necessary there.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
proxmox-network-api/Cargo.toml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/proxmox-network-api/Cargo.toml b/proxmox-network-api/Cargo.toml
index 26e5bda9..0fd61a2c 100644
--- a/proxmox-network-api/Cargo.toml
+++ b/proxmox-network-api/Cargo.toml
@@ -25,7 +25,7 @@ proxmox-sys = { workspace = true, optional = true }
proxmox-schema = { workspace = true, features = ["api-macro", "api-types"] }
proxmox-config-digest = { workspace = true, optional = true }
proxmox-product-config = { workspace = true, optional = true }
-proxmox-ve-config = "0.2.3"
+proxmox-ve-config = { version = "0.2.3", optional = true }
[features]
default = []
@@ -36,4 +36,5 @@ impl = [
"dep:nix",
"dep:libc",
"dep:proxmox-sys",
+ "dep:proxmox-ve-config",
]
--
2.39.5
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
next reply other threads:[~2025-08-13 8:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-13 8:20 Dominik Csapak [this message]
2025-08-13 8:45 ` Stefan Hanreich
2025-08-13 9:29 ` [pbs-devel] applied: " Fabian Grünbichler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250813082039.1123484-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.