From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id CC7CF1FF13A for ; Wed, 15 Apr 2026 09:04:02 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 4B9AA3E40; Wed, 15 Apr 2026 09:02:53 +0200 (CEST) From: Arthur Bied-Charreton To: pve-devel@lists.proxmox.com Subject: [PATCH proxmox v3 01/23] Add oauth2 and ureq to workspace dependencies Date: Wed, 15 Apr 2026 09:01:58 +0200 Message-ID: <20260415070220.100306-2-a.bied-charreton@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260415070220.100306-1-a.bied-charreton@proxmox.com> References: <20260415070220.100306-1-a.bied-charreton@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.132 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RDNS_NONE 0.793 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Message-ID-Hash: UOWPHLGCF7NWD5HLOKT465EHJ6JRLOS3 X-Message-ID-Hash: UOWPHLGCF7NWD5HLOKT465EHJ6JRLOS3 X-MailFrom: abied-charreton@jett.proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Since oauth2 and ureq will be needed by proxmox-notify for XOAUTH2 support, pull them in as workspace dependencies and update proxmox-openid and proxmox-http accordingly. Signed-off-by: Arthur Bied-Charreton --- Cargo.toml | 2 ++ proxmox-http/Cargo.toml | 2 +- proxmox-openid/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cf49a8b0..ecc36d65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -119,6 +119,7 @@ nix = "0.29" nom = "7" # used by proxmox-disks, can be replaced by OnceLock from std once it supports get_or_try_init once_cell = "1.3.1" +oauth2 = { version = "5", default-features = false } openssl = "0.10" pam-sys = "0.5" percent-encoding = "2.1" @@ -148,6 +149,7 @@ tracing-journald = "0.3.1" tracing-log = { version = "0.2", default-features = false } tracing-subscriber = "0.3.16" udev = "0.9" +ureq = { version = "3", default-features = false } url = "2.2" walkdir = "2" zstd = "0.13" diff --git a/proxmox-http/Cargo.toml b/proxmox-http/Cargo.toml index 66b11650..c1240fdf 100644 --- a/proxmox-http/Cargo.toml +++ b/proxmox-http/Cargo.toml @@ -27,7 +27,7 @@ sync_wrapper = { workspace = true, optional = true } tokio = { workspace = true, features = [], optional = true } tokio-openssl = { workspace = true, optional = true } tower-service = { workspace = true, optional = true } -ureq = { version = "3.0", features = ["native-tls"], optional = true, default-features = false } +ureq = { version = "3.0", features = ["native-tls"], optional = true, default-features = false, workspace = true } url = { workspace = true, optional = true } proxmox-async = { workspace = true, optional = true } diff --git a/proxmox-openid/Cargo.toml b/proxmox-openid/Cargo.toml index 5b031800..aed788d7 100644 --- a/proxmox-openid/Cargo.toml +++ b/proxmox-openid/Cargo.toml @@ -22,7 +22,7 @@ thiserror.workspace = true native-tls.workspace = true openidconnect = { version = "4", default-features = false, features = ["accept-rfc3339-timestamps"] } -ureq = { version = "3", default-features = false, features = ["native-tls", "gzip"] } +ureq = { version = "3", default-features = false, features = ["native-tls", "gzip"], workspace = true } proxmox-time.workspace = true proxmox-sys = { workspace = true, features = ["timer"] } -- 2.47.3