From 037f6b6d5e127d1fb30ea244c9267abf80ee0fd0 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 21 Sep 2021 07:58:39 +0200 Subject: [PATCH] start new proxmox-rest-server workspace Signed-off-by: Thomas Lamprecht --- Cargo.toml | 2 ++ Makefile | 1 + proxmox-rest-server/Cargo.toml | 9 +++++++++ proxmox-rest-server/src/lib.rs | 0 4 files changed, 12 insertions(+) create mode 100644 proxmox-rest-server/Cargo.toml create mode 100644 proxmox-rest-server/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 72d786c9..913dc98e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,7 @@ members = [ "pbs-datastore", "pbs-fuse-loop", "pbs-runtime", + "proxmox-rest-server", "pbs-systemd", "pbs-tape", "pbs-tools", @@ -107,6 +108,7 @@ pbs-client = { path = "pbs-client" } pbs-config = { path = "pbs-config" } pbs-datastore = { path = "pbs-datastore" } pbs-runtime = { path = "pbs-runtime" } +proxmox-rest-server = { path = "proxmox-rest-server" } pbs-systemd = { path = "pbs-systemd" } pbs-tools = { path = "pbs-tools" } pbs-tape = { path = "pbs-tape" } diff --git a/Makefile b/Makefile index e6c85a2e..b1d1ea93 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,7 @@ SUBCRATES := \ pbs-datastore \ pbs-fuse-loop \ pbs-runtime \ + proxmox-rest-server \ pbs-systemd \ pbs-tape \ pbs-tools \ diff --git a/proxmox-rest-server/Cargo.toml b/proxmox-rest-server/Cargo.toml new file mode 100644 index 00000000..836d9e28 --- /dev/null +++ b/proxmox-rest-server/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "proxmox-rest-server" +version = "0.1.0" +authors = ["Proxmox Support Team "] +edition = "2018" +description = "REST server implementation" + +[dependencies] +anyhow = "1.0" diff --git a/proxmox-rest-server/src/lib.rs b/proxmox-rest-server/src/lib.rs new file mode 100644 index 00000000..e69de29b