bump proxmox crate to 0.1.7

The -sys, -tools and -api crate have now been merged into
the proxmx crate directly. Only macro crates are separate
(but still reexported by the proxmox crate in their
designated locations).

When we need to depend on "parts" of the crate later on
we'll just have to use features.

The reason is mostly that these modules had
inter-dependencies which really make them not independent
enough to be their own crates.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2020-01-21 12:28:01 +01:00
parent e881b8a5ef
commit 9ea4bce444
33 changed files with 46 additions and 54 deletions

View File

@ -1,7 +1,7 @@
use failure::*;
use futures::*;
use proxmox::tools::try_block;
use proxmox::try_block;
use proxmox::api::RpcEnvironmentType;
//use proxmox_backup::tools;

View File

@ -35,7 +35,7 @@ use xdg::BaseDirectories;
use futures::*;
use tokio::sync::mpsc;
proxmox::api::const_regex! {
proxmox::const_regex! {
BACKUPSPEC_REGEX = r"^([a-zA-Z0-9_-]+\.(?:pxar|img|conf|log)):(.+)$";
}

View File

@ -467,7 +467,7 @@ pub fn complete_remote_datastore_name(_arg: &str, param: &HashMap<String, String
let mut list = Vec::new();
let _ = proxmox::tools::try_block!({
let _ = proxmox::try_block!({
let remote = param.get("remote").ok_or_else(|| format_err!("no remote"))?;
let (remote_config, _digest) = remote::config()?;

View File

@ -5,7 +5,7 @@ use futures::*;
use hyper;
use openssl::ssl::{SslMethod, SslAcceptor, SslFiletype};
use proxmox::tools::try_block;
use proxmox::try_block;
use proxmox::api::RpcEnvironmentType;
use proxmox_backup::configdir;