[pbs-devel] applied: [PATCH v2 proxmox-backup] cargo: drop direct `http` crate dependency, tree-wide namespace fix
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Jan 24 09:51:25 CET 2025
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 at 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.
More information about the pbs-devel
mailing list