From 6d152f8930eed01d25aeb6c4aefeb0596679fd55 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 12 Dec 2019 13:06:40 +0100 Subject: [PATCH] updates for hyper 0.13 release Signed-off-by: Wolfgang Bumiller --- proxmox-api-macro/Cargo.toml | 4 ++-- proxmox-api/Cargo.toml | 6 +++--- proxmox/Cargo.toml | 8 +++++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/proxmox-api-macro/Cargo.toml b/proxmox-api-macro/Cargo.toml index 7a21d4b2..9c3b569f 100644 --- a/proxmox-api-macro/Cargo.toml +++ b/proxmox-api-macro/Cargo.toml @@ -16,8 +16,8 @@ syn = { version = "1.0", features = [ "full" ] } [dev-dependencies] bytes = "0.4" -futures-preview = { version = "0.3.0-alpha" } -http = "0.1" +futures = "0.3" +http = "0.2" proxmox = { path = "../proxmox" } serde = "1.0" serde_derive = "1.0" diff --git a/proxmox-api/Cargo.toml b/proxmox-api/Cargo.toml index 8d05bdf0..945200fa 100644 --- a/proxmox-api/Cargo.toml +++ b/proxmox-api/Cargo.toml @@ -7,8 +7,8 @@ authors = [ "Wolfgang Bumiller " ] [dependencies] bytes = "0.4" failure = "0.1" -futures-preview = "0.3.0-alpha" -http = "0.1" +futures = "0.3" +http = "0.2" proxmox-tools = { version = "0.1", path = "../proxmox-tools" } regex = "1.0" rustyline = "5.0.4" @@ -18,7 +18,7 @@ serde_json = "1.0" textwrap = "0.11" url = "1.7" -hyper = { version = "0.13.0-alpha.1", optional = true } +hyper = { version = "0.13", optional = true } [dev-dependencies] lazy_static = "1.3" diff --git a/proxmox/Cargo.toml b/proxmox/Cargo.toml index 7d92a4e5..eeedd12b 100644 --- a/proxmox/Cargo.toml +++ b/proxmox/Cargo.toml @@ -8,14 +8,16 @@ authors = [ ] [dependencies] -proxmox-api = { path = "../proxmox-api" } +proxmox-api = { path = "../proxmox-api", default-features = false } proxmox-api-macro = { path = "../proxmox-api-macro", optional = true } proxmox-sys = { path = "../proxmox-sys" } proxmox-tools = { path = "../proxmox-tools" } proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true } [features] -default = [] -valgrind = ["proxmox-tools/valgrind"] api-macro = ["proxmox-api-macro"] +cli = ["proxmox-api/cli"] +default = [ "router", "cli" ] +router = ["proxmox-api/router"] sortable-macro = ["proxmox-sortable-macro"] +valgrind = ["proxmox-tools/valgrind"]