From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id B04EA6B394 for ; Mon, 20 Sep 2021 11:14:15 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A94651E3C6 for ; Mon, 20 Sep 2021 11:13:45 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 9A7321E3A4 for ; Mon, 20 Sep 2021 11:13:44 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 60C78449A6; Mon, 20 Sep 2021 11:13:44 +0200 (CEST) From: Dietmar Maurer To: pbs-devel@lists.proxmox.com Date: Mon, 20 Sep 2021 11:13:26 +0200 Message-Id: <20210920091340.3251578-1-dietmar@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.640 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] [PATCH proxmox-backup rebase 01/15] start new pbs-server workspace X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2021 09:14:15 -0000 --- Cargo.toml | 2 ++ Makefile | 1 + pbs-server/Cargo.toml | 9 +++++++++ pbs-server/src/lib.rs | 0 4 files changed, 12 insertions(+) create mode 100644 pbs-server/Cargo.toml create mode 100644 pbs-server/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 72d786c9..58abf7c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,7 @@ members = [ "pbs-datastore", "pbs-fuse-loop", "pbs-runtime", + "pbs-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" } +pbs-server = { path = "pbs-server" } pbs-systemd = { path = "pbs-systemd" } pbs-tools = { path = "pbs-tools" } pbs-tape = { path = "pbs-tape" } diff --git a/Makefile b/Makefile index e6c85a2e..050218ba 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,7 @@ SUBCRATES := \ pbs-datastore \ pbs-fuse-loop \ pbs-runtime \ + pbs-server \ pbs-systemd \ pbs-tape \ pbs-tools \ diff --git a/pbs-server/Cargo.toml b/pbs-server/Cargo.toml new file mode 100644 index 00000000..e933c1e6 --- /dev/null +++ b/pbs-server/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "pbs-server" +version = "0.1.0" +authors = ["Proxmox Support Team "] +edition = "2018" +description = "REST server implementation" + +[dependencies] +anyhow = "1.0" diff --git a/pbs-server/src/lib.rs b/pbs-server/src/lib.rs new file mode 100644 index 00000000..e69de29b -- 2.30.2