[pbs-devel] [PATCH proxmox 01/13] proxmox: add missing +router -> futures dep

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri May 14 15:44:37 CEST 2021


this is shadowed by the websocket feature being enabled by default.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---

Notes:
    fixes issue uncovered by next patch

 proxmox/Cargo.toml     | 2 +-
 proxmox/debian/control | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/proxmox/Cargo.toml b/proxmox/Cargo.toml
index c04c105..da46e74 100644
--- a/proxmox/Cargo.toml
+++ b/proxmox/Cargo.toml
@@ -57,7 +57,7 @@ sortable-macro = ["proxmox-sortable-macro"]
 api-macro = ["proxmox-api-macro"]
 test-harness = []
 cli = [ "router", "hyper", "tokio" ]
-router = [ "hyper", "tokio" ]
+router = [ "futures", "hyper", "tokio" ]
 websocket = [ "futures", "hyper", "openssl", "tokio/sync", "tokio/io-util", "openssl" ]
 tfa = [ "openssl" ]
 u2f = [ "base32" ]
diff --git a/proxmox/debian/control b/proxmox/debian/control
index da55b88..9091cb8 100644
--- a/proxmox/debian/control
+++ b/proxmox/debian/control
@@ -267,6 +267,7 @@ Multi-Arch: same
 Depends:
  ${misc:Depends},
  librust-proxmox-dev (= ${binary:Version}),
+ librust-futures-0.3+default-dev,
  librust-hyper-0.14+default-dev,
  librust-hyper-0.14+full-dev,
  librust-tokio-1+default-dev
-- 
2.20.1






More information about the pbs-devel mailing list