[pbs-devel] [PATCH proxmox/proxmox-backup] improve proxmox-async dependencies

Dominik Csapak d.csapak at proxmox.com
Fri Feb 18 13:48:47 CET 2022


this series tries to minimize the dependecies for proxmox-async
so that we can more easily argue to depend on it in proxmox-router for [0]

0: https://lists.proxmox.com/pipermail/pbs-devel/2022-February/004696.html

proxmox:

Dominik Csapak (2):
  split out compression code into new crate 'proxmox-compression'
  proxmox-async: remove proxmox-sys dependency

 Cargo.toml                                    |  1 +
 Makefile                                      |  1 +
 proxmox-async/Cargo.toml                      |  9 +--
 proxmox-async/src/io/async_channel_writer.rs  | 16 ++++--
 proxmox-async/src/lib.rs                      |  2 -
 proxmox-compression/Cargo.toml                | 26 +++++++++
 proxmox-compression/debian/changelog          |  5 ++
 proxmox-compression/debian/control            | 56 +++++++++++++++++++
 proxmox-compression/debian/copyright          | 16 ++++++
 proxmox-compression/debian/debcargo.toml      |  7 +++
 .../src/compression.rs                        |  6 +-
 proxmox-compression/src/lib.rs                |  4 ++
 .../src/zip.rs                                |  2 +-
 13 files changed, 134 insertions(+), 17 deletions(-)
 create mode 100644 proxmox-compression/Cargo.toml
 create mode 100644 proxmox-compression/debian/changelog
 create mode 100644 proxmox-compression/debian/control
 create mode 100644 proxmox-compression/debian/copyright
 create mode 100644 proxmox-compression/debian/debcargo.toml
 rename {proxmox-async => proxmox-compression}/src/compression.rs (96%)
 create mode 100644 proxmox-compression/src/lib.rs
 rename {proxmox-async => proxmox-compression}/src/zip.rs (99%)

proxmox-backup:

Dominik Csapak (1):
  depend on new 'proxmox-compression' crate

 pbs-client/Cargo.toml                                    | 1 +
 pbs-client/src/pxar/extract.rs                           | 2 +-
 proxmox-rest-server/Cargo.toml                           | 1 +
 proxmox-rest-server/src/rest.rs                          | 2 +-
 proxmox-restore-daemon/Cargo.toml                        | 1 +
 proxmox-restore-daemon/src/proxmox_restore_daemon/api.rs | 2 +-
 6 files changed, 6 insertions(+), 3 deletions(-)

-- 
2.30.2






More information about the pbs-devel mailing list