From: Lukas Wagner <l.wagner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH proxmox-mail-forward 2/2] pve-notify-worker: cargo: only enable required tokio features
Date: Mon, 23 Nov 2026 11:52:36 +0100 [thread overview]
Message-ID: <20261123105236.212117-2-l.wagner@proxmox.com> (raw)
In-Reply-To: <20261123105236.212117-1-l.wagner@proxmox.com>
The binary itself only needs 'rt-multi-thread' to build its runtime.
The other features it relies on, such as timers and signal handling,
are enabled by proxmox-notify and proxmox-daemon, so there is no need
to pull in all of tokio.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
pve-notify-worker/Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pve-notify-worker/Cargo.toml b/pve-notify-worker/Cargo.toml
index 61738e9..7e6d2b0 100644
--- a/pve-notify-worker/Cargo.toml
+++ b/pve-notify-worker/Cargo.toml
@@ -10,7 +10,7 @@ homepage.workspace = true
[dependencies]
anyhow.workspace = true
futures.workspace = true
-tokio = { workspace = true, features = [ "full" ] }
+tokio = { workspace = true, features = [ "rt-multi-thread" ] }
tracing.workspace = true
common.workspace = true
--
2.47.3
prev parent reply other threads:[~2026-11-23 10:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 10:52 [PATCH proxmox-mail-forward 1/2] pve-notify-worker: limit number of worker threads to 2 Lukas Wagner
2026-11-23 10:52 ` Lukas Wagner [this message]
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=20261123105236.212117-2-l.wagner@proxmox.com \
--to=l.wagner@proxmox.com \
--cc=pve-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.