all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Gabriel Goller <g.goller@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox] schema: add nix "feature" feature
Date: Tue, 15 Jul 2025 10:27:47 +0200	[thread overview]
Message-ID: <20250715082747.244356-1-g.goller@proxmox.com> (raw)

proxmox-schema uses `nix::sys::utsname` which needs the "feature"
feature [0].

[0]: https://docs.rs/nix/latest/nix/sys/utsname/index.html

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
 proxmox-schema/Cargo.toml     | 2 +-
 proxmox-schema/debian/control | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/proxmox-schema/Cargo.toml b/proxmox-schema/Cargo.toml
index b1c5aa6dc090..593f7d8747c6 100644
--- a/proxmox-schema/Cargo.toml
+++ b/proxmox-schema/Cargo.toml
@@ -21,7 +21,7 @@ textwrap = "0.16"
 
 # the upid type needs this for 'getpid'
 libc = { workspace = true, optional = true }
-nix = { workspace = true, optional = true }
+nix = { workspace = true, optional = true, features = [ "feature" ] }
 
 proxmox-api-macro = { workspace = true, optional = true }
 
diff --git a/proxmox-schema/debian/control b/proxmox-schema/debian/control
index 9160dd194b90..78b9682d016a 100644
--- a/proxmox-schema/debian/control
+++ b/proxmox-schema/debian/control
@@ -85,7 +85,8 @@ Depends:
  ${misc:Depends},
  librust-proxmox-schema-dev (= ${binary:Version}),
  librust-libc-0.2+default-dev (>= 0.2.107-~~),
- librust-nix-0.29+default-dev
+ librust-nix-0.29+default-dev,
+ librust-nix-0.29+feature-dev
 Provides:
  librust-proxmox-schema-4+upid-api-impl-dev (= ${binary:Version}),
  librust-proxmox-schema-4.1+upid-api-impl-dev (= ${binary:Version}),
-- 
2.39.5



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


             reply	other threads:[~2025-07-15  8:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15  8:27 Gabriel Goller [this message]
2025-07-15 21:13 ` [pbs-devel] applied: " Thomas Lamprecht
2025-07-15 21:13   ` [pve-devel] applied: [pbs-devel] " Thomas Lamprecht

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=20250715082747.244356-1-g.goller@proxmox.com \
    --to=g.goller@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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal