From 9f5b57a348add161938d8c204c3e1c6562feaf06 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 15 Jul 2021 09:54:47 +0200 Subject: [PATCH] buildsys: Prepare new way for path dependencies Signed-off-by: Wolfgang Bumiller --- Cargo.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fb2ab468..e595814b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -84,16 +84,12 @@ crossbeam-channel = "0.5" pathpatterns = "0.1.2" pxar = { version = "0.10.1", features = [ "tokio-io" ] } -#pxar = { path = "../pxar", features = [ "tokio-io" ] } proxmox = { version = "0.11.6", features = [ "sortable-macro", "api-macro", "cli", "router", "tfa" ] } -#proxmox = { git = "git://git.proxmox.com/git/proxmox", version = "0.1.2", features = [ "sortable-macro", "api-macro", "cli", "router", "tfa" ] } -#proxmox = { path = "../proxmox/proxmox", features = [ "sortable-macro", "api-macro", "cli", "router", "tfa" ] } proxmox-acme-rs = "0.2.1" proxmox-apt = "0.4.0" proxmox-fuse = "0.1.1" proxmox-http = { version = "0.2.1", features = [ "client", "http-helpers", "websocket" ] } -#proxmox-http = { version = "0.2.0", path = "../proxmox/proxmox-http", features = [ "client", "http-helpers", "websocket" ] } proxmox-openid = "0.6.0" pbs-api-types = { path = "pbs-api-types" } @@ -103,6 +99,13 @@ pbs-runtime = { path = "pbs-runtime" } pbs-systemd = { path = "pbs-systemd" } pbs-tools = { path = "pbs-tools" } +# Local path overrides +# NOTE: You must run `cargo update` after changing this for it to take effect! +[patch.crates-io] +#proxmox = { path = "../proxmox/proxmox", features = [ "sortable-macro", "api-macro", "cli", "router", "tfa" ] } +#proxmox-http = { path = "../proxmox/proxmox-http", features = [ "client", "http-helpers", "websocket" ] } +#pxar = { path = "../pxar", features = [ "tokio-io" ] } + [features] default = [] #valgrind = ["valgrind_request"]