update to proxmox-sys 0.2 crate

- imported pbs-api-types/src/common_regex.rs from old proxmox crate
- use hex crate to generate/parse hex digest
- remove all reference to proxmox crate (use proxmox-sys and
  proxmox-serde instead)

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer
2021-11-23 17:57:00 +01:00
parent bd00ff10e4
commit 25877d05ac
201 changed files with 627 additions and 1535 deletions

View File

@ -16,10 +16,11 @@ serde_json = "1.0"
tokio = { version = "1.6", features = [ "rt", "rt-multi-thread" ] }
pathpatterns = "0.1.2"
proxmox = "0.15.3"
proxmox-async = "0.2"
#proxmox = "0.15.3"
proxmox-async = "0.3"
proxmox-schema = { version = "1", features = [ "api-macro" ] }
proxmox-router = "1.1"
proxmox-sys = "0.2"
pxar = { version = "0.10.1", features = [ "tokio-io" ] }
pbs-client = { path = "../pbs-client" }

View File

@ -150,7 +150,7 @@ fn extract_archive(
let mut match_list = Vec::new();
if let Some(filename) = &files_from {
for line in pbs_tools::fs::file_get_non_comment_lines(filename)? {
for line in proxmox_sys::fs::file_get_non_comment_lines(filename)? {
let line = line
.map_err(|err| format_err!("error reading {}: {}", filename, err))?;
match_list.push(