move UPID to pbs-api-types, add UPIDExt

pbs-server side related methods are added via the UPIDExt
trait

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-07-07 13:47:17 +02:00
parent 314d360fcd
commit 95f9d67ce9
6 changed files with 163 additions and 145 deletions

View File

@ -8,7 +8,11 @@ description = "general API type helpers for PBS"
[dependencies]
anyhow = "1.0"
lazy_static = "1.4"
nix = "0.19.1"
libc = "0.2"
regex = "1.2"
serde = { version = "1.0", features = ["derive"] }
proxmox = { version = "0.11.5", default-features = false, features = [ "api-macro" ] }
pbs-systemd = { path = "../pbs-systemd" }