update to first proxmox crate split

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-10-08 11:19:37 +02:00
parent e3f3359c86
commit 6ef1b649d9
265 changed files with 880 additions and 1036 deletions

View File

@ -1,7 +1,8 @@
use anyhow::{bail, Error};
use std::sync::Arc;
use std::io::Cursor;
use std::io::{Read, Write, Seek, SeekFrom };
use anyhow::{bail, Error};
use lazy_static::lazy_static;
use pbs_tools::crypt_config::CryptConfig;

View File

@ -1,6 +1,6 @@
use std::process::Command;
use anyhow::{Error};
use anyhow::Error;
use pbs_client::pxar::*;

View File

@ -1,6 +1,7 @@
use anyhow::{Error};
use std::path::PathBuf;
use anyhow::Error;
use pbs_api_types::PruneOptions;
use pbs_datastore::manifest::MANIFEST_BLOB_NAME;
use pbs_datastore::prune::compute_prune_info;

View File

@ -2,9 +2,10 @@ use std::collections::HashSet;
use anyhow::{bail, format_err, Error};
use proxmox_schema::*;
use proxmox_router::{ApiMethod, Permission, Router, SubdirMap, SubRoute};
use proxmox_backup::api2;
use proxmox::api::*;
use proxmox::api::schema::*;
// Simply test if api lookup tables inside Routers and Schemas are
// correctly sorted.

View File

@ -5,8 +5,8 @@ extern crate proxmox_backup;
extern crate tokio;
extern crate nix;
use proxmox::try_block;
use proxmox::tools::fs::CreateOptions;
use proxmox_lang::try_block;
use pbs_api_types::{Authid, UPID};
use pbs_tools::{task_log, task::WorkerTaskContext};