Age | Commit message (Collapse) | Author |
|
Refresh patching out the non-client code and docs stuff but also add
two new patches that adapt the `h2` (http2) crate to use the same
0.2.12 version of the `http` protocol as the PBS rust stack currently
does. This is required to avoid a type-mismatch error for different
versions of the `Response<RecvStream>` type.
It can be dropped once Proxmox upgrades their hyper/h2/http stack.
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
|
|
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
|
|
causes package build failures with e.g. zstd linkage
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
|
|
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
|
|
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
|
|
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
|
|
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
|
|
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
|
|
Instead of updating the hdozens of places manually, or investing time
into automating that, just use the `[patch.crates-io]` mechanism
cargo provides and clone the main depednecy repos too, which would
have be done anyway by cargo.
Patching out most of the workspace-lib stayed the same.
Also patch our proxmox crate to avoid a glob-import on anyhow, as
that breaks resolbing `Ok()` to te Result tuple, as anyhow added an
Ok helper function in 1.0.49 and glob-imports are *always* wrong..
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
|
|
we need to rework the "re-route dependencies to git" approach a bit as
PBS reorganized the source code drastically into workspaces, and cargo
build/fetch always wants to download every dependency of all
workspace-crates, so we need to remove some of the top-level workspace.
But, the reorg makes also quite some things better, less linkage cruft,
no need to patch the api anymore and faster build time
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
|