[pbs-devel] [PATCH proxmox-backup v2 01/16] start new proxmox-rest-server workspace
Dietmar Maurer
dietmar at proxmox.com
Tue Sep 21 07:58:39 CEST 2021
---
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 <support at proxmox.com>"]
+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
--
2.30.2
More information about the pbs-devel
mailing list