From f226c2a26b365f2dd2b1ed51a0b93f236a7c446c Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 24 Jan 2025 08:23:33 +0100 Subject: [PATCH] use pbs-api-types dependency from newly separated package We moved pbs-api-types out of proxmox-backup and package it now like our other rust source code crates for better reuse. Switch this use site over to use the package variant, not the submodule one, as the latter won't exist anymore once we update the submodule the next time anyway. Signed-off-by: Thomas Lamprecht --- Cargo.toml | 3 ++- debian/control | 1 + submodules/proxmox-backup | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b24c5eb..d473e11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,8 @@ proxmox-schema = { version = "4", features = [ "api-macro" ] } proxmox-sortable-macro = "0.1.2" proxmox-sys = "0.6" -pbs-api-types = { path = "submodules/proxmox-backup/pbs-api-types" } +pbs-api-types = { version = "0.2" } + pbs-client = { path = "submodules/proxmox-backup/pbs-client" } pbs-datastore = { path = "submodules/proxmox-backup/pbs-datastore" } pbs-key-config = { path = "submodules/proxmox-backup/pbs-key-config" } diff --git a/debian/control b/debian/control index 12113e2..9d76c9e 100644 --- a/debian/control +++ b/debian/control @@ -53,6 +53,7 @@ Build-Depends: cargo:native, librust-proxmox-log-0.2+default-dev (>= 0.2.6-~~), librust-proxmox-notify-0.5+default-dev (>= 0.5.1-~~), librust-proxmox-notify-0.5+pbs-context-dev (>= 0.5.1-~~), + librust-pbs-api-types-dev, librust-proxmox-router-3+cli-dev, librust-proxmox-router-3+server-dev, librust-proxmox-schema-4+api-macro-dev, diff --git a/submodules/proxmox-backup b/submodules/proxmox-backup index de875c0..7769be2 160000 --- a/submodules/proxmox-backup +++ b/submodules/proxmox-backup @@ -1 +1 @@ -Subproject commit de875c0f0e358b3bd46b4d0e3c0aa75af7c9e887 +Subproject commit 7769be2f1750b42f90dadfcfc4fbc44615d2209b