anyhow > 1.0.48 breaks proxmox-backup 2.1.2/proxmox 0.15.4

This commit is contained in:
Wolfgang
2021-11-29 22:02:10 +01:00
parent 99931ee533
commit 2901efdc64
2 changed files with 12 additions and 2 deletions

View File

@@ -25,9 +25,18 @@ index 3b5b6e48..50908c05 100644
+[source.vendored-sources]
+directory = "vendor"
diff --git a/Cargo.toml b/Cargo.toml
index eed8f8f9..0169a1ed 100644
index eed8f8f9..d06c2a61 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -51,7 +51,7 @@ crc32fast = "1"
endian_trait = { version = "0.6", features = ["arrays"] }
env_logger = "0.7"
flate2 = "1.0"
-anyhow = "1.0"
+anyhow = "<=1.0.48"
thiserror = "1.0"
futures = "0.3"
h2 = { version = "0.3", features = [ "stream" ] }
@@ -130,6 +130,26 @@ pbs-tape = { path = "pbs-tape" }
#proxmox-tfa = { path = "../proxmox/proxmox-tfa" }
#proxmox-schema = { path = "../proxmox/proxmox-schema" }

View File

@@ -15,13 +15,14 @@ diff --git a/Cargo.toml b/Cargo.toml
index ffd72b2..f808e7e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,4 +14,5 @@ exclude = [ "build", "debian" ]
@@ -14,4 +14,6 @@ exclude = [ "build", "debian" ]
mio = { version = "0.7", features = [ "net", "os-ext" ] }
curl = "0.4"
clap = "2.33"
-proxmox = { version = "0.10.0", default-features = false }
+#proxmox = { version = "0.10.0", default-features = false }
+proxmox = { path = "../proxmox/proxmox", default-features = false }
+anyhow = "<=1.0.48"
diff --git a/Makefile b/Makefile
index 0cabc7d..18891c9 100644
--- a/Makefile