[pbs-devel] [PATCH proxmox-backup v2 0/3] implement streaming serialization for api calls

Dominik Csapak d.csapak at proxmox.com
Tue Apr 12 16:15:07 CEST 2022


proxmox-backup remaining part of the series

changes from v1:
* rebase on master (because of rustfmt changes)

dependencies (if it's not clear):
proxmox-rest-server/proxmox-backup needs to depend on newer
proxmox-router/api-macro

Dominik Csapak (3):
  proxmox-rest-server: OutputFormatter: add new format_data_streaming
    method
  adapt to the new ApiHandler variants
  api: admin/datastore: enable streaming for some api calls

 proxmox-rest-server/Cargo.toml       |  1 +
 proxmox-rest-server/src/formatter.rs | 67 +++++++++++++++++++++++++++-
 proxmox-rest-server/src/rest.rs      | 13 ++++++
 src/api2/admin/datastore.rs          |  1 +
 src/api2/node/tasks.rs               |  1 +
 src/bin/proxmox_backup_debug/api.rs  |  8 ++++
 6 files changed, 90 insertions(+), 1 deletion(-)

-- 
2.30.2






More information about the pbs-devel mailing list