From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox Backup Server development discussion
<pbs-devel@lists.proxmox.com>,
Christian Ebner <c.ebner@proxmox.com>
Subject: [pbs-devel] applied: [PATCH v2 proxmox-backup] cargo: drop direct `http` crate dependency, tree-wide namespace fix
Date: Fri, 24 Jan 2025 09:51:25 +0100 [thread overview]
Message-ID: <64c3d857-a6b6-4905-a934-c77a83c8bf78@proxmox.com> (raw)
In-Reply-To: <20250121125458.362715-1-c.ebner@proxmox.com>
Am 21.01.25 um 13:54 schrieb Christian Ebner:
> Instead of using and depending on the `http` create directly, use and
> depend on the re-exported `hyper::http`. Adapt namespace prefixes
> accordingly.
>
> This makes sure the `hyper::http` types are version compatible and
> allows to possibly depend on incompatible versions of `http` in the
> workspace in the future.
>
> No functional changes intended.
>
> Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
> ---
> changes since version 1:
> - `cargo fmt` run
>
> Cargo.toml | 2 --
> examples/h2client.rs | 2 +-
> examples/h2s-client.rs | 2 +-
> examples/h2s-server.rs | 7 +++++--
> examples/h2server.rs | 7 +++++--
> pbs-client/Cargo.toml | 1 -
> pbs-client/src/http_client.rs | 8 ++++----
> pbs-client/src/vsock_client.rs | 4 ++--
> proxmox-restore-daemon/Cargo.toml | 1 -
> proxmox-restore-daemon/src/proxmox_restore_daemon/auth.rs | 4 ++--
> src/acme/plugin.rs | 4 ++--
> src/api2/backup/mod.rs | 2 +-
> src/api2/node/tasks.rs | 4 ++--
> src/api2/reader/mod.rs | 2 +-
> src/bin/proxmox-backup-api.rs | 2 +-
> src/bin/proxmox-backup-proxy.rs | 8 ++++----
> src/server/auth.rs | 2 +-
> src/server/sync.rs | 2 +-
> 18 files changed, 33 insertions(+), 31 deletions(-)
>
>
applied, thanks!
This should also help our client build for the ArchLinux User Repo where I had
to downgrade http explicitly in the h2 dependency.
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
prev parent reply other threads:[~2025-01-24 8:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-21 12:54 [pbs-devel] " Christian Ebner
2025-01-24 8:51 ` Thomas Lamprecht [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=64c3d857-a6b6-4905-a934-c77a83c8bf78@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=c.ebner@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.