--- /dev/null
+VERSION=0.1
+PACKAGE=api-test-server
+PKGREL=1
+
+
+all: target/release/api-test-server
+
+target/release/api-test-server:
+ cargo build --release
+
+deb:
+ rm -rf build
+ # build here to cache results
+ cargo build --release
+ rsync -a debian Cargo.lock Cargo.toml src target build
+ cd build; dpkg-buildpackage -b -us -uc
+
+
+
+clean:
+ cargo clean
--- /dev/null
+rust-api-test-server (0.1-1) unstable; urgency=medium
+
+ [ Proxmox Support Team ]
+ * first try
+
+ -- Proxmox Support Team <support@proxmox.com> Fri, 30 Nov 2018 13:03:28 +0100
+
--- /dev/null
+Source: rust-api-test-server
+Section: admin
+Priority: optional
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Build-Depends: debhelper (>= 10),
+Standards-Version: 3.9.5
+Homepage: https://www.proxmox.com
+
+Package: api-test-server
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: API Test Server
+ This is experimental code used to test Rust.
--- /dev/null
+target/release/api-test-server /usr/sbin
--- /dev/null
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#DH_VERBOSE = 1
+
+
+%:
+ dh $@
+
+
+override_dh_auto_build:
+ cargo build --release