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 146A36B7A3 for ; Tue, 21 Sep 2021 07:58:58 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 0AC688E0E for ; Tue, 21 Sep 2021 07:58:58 +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) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 687668DFA for ; Tue, 21 Sep 2021 07:58:57 +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 375B2449DF; Tue, 21 Sep 2021 07:58:57 +0200 (CEST) From: Dietmar Maurer To: pbs-devel@lists.proxmox.com Date: Tue, 21 Sep 2021 07:58:39 +0200 Message-Id: <20210921055854.3799470-2-dietmar@proxmox.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210921055854.3799470-1-dietmar@proxmox.com> References: <20210921055854.3799470-1-dietmar@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.616 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [lib.rs] Subject: [pbs-devel] [PATCH proxmox-backup v2 01/16] start new proxmox-rest-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: Tue, 21 Sep 2021 05:58:58 -0000 --- 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 -- 2.30.2