rest-server: add packaging and bump to 0.2.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-10-11 14:47:35 +02:00
parent bd00e2f317
commit 7c7e2f886c
7 changed files with 137 additions and 2 deletions

View File

@ -8,6 +8,7 @@ members = [
"proxmox-io",
"proxmox-lang",
"proxmox-metrics",
"proxmox-rest-server",
"proxmox-router",
"proxmox-schema",
"proxmox-serde",

View File

@ -9,6 +9,7 @@ CRATES = \
proxmox-io \
proxmox-lang \
proxmox-metrics \
proxmox-rest-server \
proxmox-router \
proxmox-schema \
proxmox-serde \

View File

@ -1,12 +1,13 @@
[package]
name = "proxmox-rest-server"
version = "0.1.0"
version = "0.2.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
edition = "2018"
license = "AGPL-3"
description = "REST server implementation"
# for example
exclude = [ "debian" ]
[dev-dependencies]
proxmox-schema = { version = "1.3.1", features = [ "api-macro" ] }
tokio = { version = "1.6", features = [ "rt-multi-thread", "signal", "process" ] }

View File

@ -0,0 +1,5 @@
rust-proxmox-rest-server (0.2.0-1) stable; urgency=medium
* initial split out of proxmox-backup workspace
-- Proxmox Support Team <support@proxmox.com> Tue, 11 Oct 2022 14:16:40 +0200

View File

@ -0,0 +1,104 @@
Source: rust-proxmox-rest-server
Section: rust
Priority: optional
Build-Depends: debhelper (>= 12),
dh-cargo (>= 25),
cargo:native <!nocheck>,
rustc:native <!nocheck>,
libstd-rust-dev <!nocheck>,
librust-anyhow-1+default-dev <!nocheck>,
librust-futures-0.3+default-dev <!nocheck>,
librust-handlebars-3+default-dev <!nocheck>,
librust-http-0.2+default-dev <!nocheck>,
librust-hyper-0.14+default-dev (>= 0.14.5-~~) <!nocheck>,
librust-hyper-0.14+full-dev (>= 0.14.5-~~) <!nocheck>,
librust-lazy-static-1+default-dev (>= 1.4-~~) <!nocheck>,
librust-libc-0.2+default-dev <!nocheck>,
librust-log-0.4+default-dev (>= 0.4.17-~~) <!nocheck>,
librust-nix-0.24+default-dev <!nocheck>,
librust-once-cell-1+default-dev (>= 1.3.1-~~) <!nocheck>,
librust-percent-encoding-2+default-dev (>= 2.1-~~) <!nocheck>,
librust-proxmox-async-0.4+default-dev <!nocheck>,
librust-proxmox-compression-0.1+default-dev (>= 0.1.1-~~) <!nocheck>,
librust-proxmox-http-0.7+client-dev <!nocheck>,
librust-proxmox-http-0.7+default-dev <!nocheck>,
librust-proxmox-io-1+default-dev <!nocheck>,
librust-proxmox-lang-1+default-dev (>= 1.1-~~) <!nocheck>,
librust-proxmox-router-1+default-dev (>= 1.3.0-~~) <!nocheck>,
librust-proxmox-schema-1+api-macro-dev (>= 1.3.1-~~) <!nocheck>,
librust-proxmox-schema-1+default-dev (>= 1.3.1-~~) <!nocheck>,
librust-proxmox-schema-1+upid-api-impl-dev (>= 1.3.1-~~) <!nocheck>,
librust-proxmox-sys-0.4+default-dev <!nocheck>,
librust-proxmox-sys-0.4+logrotate-dev <!nocheck>,
librust-proxmox-sys-0.4+timer-dev <!nocheck>,
librust-proxmox-time-1+default-dev <!nocheck>,
librust-regex-1+default-dev (>= 1.5-~~) <!nocheck>,
librust-serde-1+default-dev <!nocheck>,
librust-serde-1+derive-dev <!nocheck>,
librust-serde-json-1+default-dev <!nocheck>,
librust-tokio-1+default-dev (>= 1.6-~~) <!nocheck>,
librust-tokio-1+process-dev (>= 1.6-~~) <!nocheck>,
librust-tokio-1+signal-dev (>= 1.6-~~) <!nocheck>,
librust-tokio-openssl-0.6+default-dev (>= 0.6.1-~~) <!nocheck>,
librust-tokio-stream-0.1+default-dev <!nocheck>,
librust-tower-service-0.3+default-dev <!nocheck>,
librust-url-2+default-dev (>= 2.1-~~) <!nocheck>
Maintainer: Proxmox Support Team <support@proxmox.com>
Standards-Version: 4.5.1
Vcs-Git: git://git.proxmox.com/git/proxmox.git
Vcs-Browser: https://git.proxmox.com/?p=proxmox.git
Rules-Requires-Root: no
Package: librust-proxmox-rest-server-dev
Architecture: any
Multi-Arch: same
Depends:
${misc:Depends},
librust-anyhow-1+default-dev,
librust-futures-0.3+default-dev,
librust-handlebars-3+default-dev,
librust-http-0.2+default-dev,
librust-hyper-0.14+default-dev (>= 0.14.5-~~),
librust-hyper-0.14+full-dev (>= 0.14.5-~~),
librust-lazy-static-1+default-dev (>= 1.4-~~),
librust-libc-0.2+default-dev,
librust-log-0.4+default-dev (>= 0.4.17-~~),
librust-nix-0.24+default-dev,
librust-once-cell-1+default-dev (>= 1.3.1-~~),
librust-percent-encoding-2+default-dev (>= 2.1-~~),
librust-proxmox-async-0.4+default-dev,
librust-proxmox-compression-0.1+default-dev (>= 0.1.1-~~),
librust-proxmox-http-0.7+client-dev,
librust-proxmox-http-0.7+default-dev,
librust-proxmox-io-1+default-dev,
librust-proxmox-lang-1+default-dev (>= 1.1-~~),
librust-proxmox-router-1+default-dev (>= 1.3.0-~~),
librust-proxmox-schema-1+api-macro-dev (>= 1.3.1-~~),
librust-proxmox-schema-1+default-dev (>= 1.3.1-~~),
librust-proxmox-schema-1+upid-api-impl-dev (>= 1.3.1-~~),
librust-proxmox-sys-0.4+default-dev,
librust-proxmox-sys-0.4+logrotate-dev,
librust-proxmox-sys-0.4+timer-dev,
librust-proxmox-time-1+default-dev,
librust-regex-1+default-dev (>= 1.5-~~),
librust-serde-1+default-dev,
librust-serde-1+derive-dev,
librust-serde-json-1+default-dev,
librust-tokio-1+default-dev (>= 1.6-~~),
librust-tokio-1+process-dev (>= 1.6-~~),
librust-tokio-1+signal-dev (>= 1.6-~~),
librust-tokio-openssl-0.6+default-dev (>= 0.6.1-~~),
librust-tokio-stream-0.1+default-dev,
librust-tower-service-0.3+default-dev,
librust-url-2+default-dev (>= 2.1-~~)
Provides:
librust-proxmox-rest-server+default-dev (= ${binary:Version}),
librust-proxmox-rest-server-0-dev (= ${binary:Version}),
librust-proxmox-rest-server-0+default-dev (= ${binary:Version}),
librust-proxmox-rest-server-0.2-dev (= ${binary:Version}),
librust-proxmox-rest-server-0.2+default-dev (= ${binary:Version}),
librust-proxmox-rest-server-0.2.0-dev (= ${binary:Version}),
librust-proxmox-rest-server-0.2.0+default-dev (= ${binary:Version})
Description: REST server implementation - Rust source code
This package contains the source for the Rust proxmox-rest-server crate,
packaged by debcargo for use with cargo and dh-cargo.

View File

@ -0,0 +1,16 @@
Copyright (C) 2021-2022 Proxmox Server Solutions GmbH
This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

View File

@ -0,0 +1,7 @@
overlay = "."
crate_src_path = ".."
maintainer = "Proxmox Support Team <support@proxmox.com>"
[source]
vcs_git = "git://git.proxmox.com/git/proxmox.git"
vcs_browser = "https://git.proxmox.com/?p=proxmox.git"