]> git.proxmox.com Git - proxmox-backup.git/commitdiff
add README.rst
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 2 Jan 2020 13:10:18 +0000 (14:10 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 2 Jan 2020 13:10:18 +0000 (14:10 +0100)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
README.rst [new file with mode: 0644]

diff --git a/README.rst b/README.rst
new file mode 100644 (file)
index 0000000..c475707
--- /dev/null
@@ -0,0 +1,26 @@
+Versioning of proxmox helper crates
+===================================
+
+To use current git master code of the proxmox* helper crates, add::
+
+   git = "ssh://gitolite3@proxdev.maurer-it.com/rust/proxmox"
+
+to the proxmox dependency, and update the version to reflect the current,
+pre-release version number (e.g., "0.1.1-dev.1" instead of "0.1.0").
+
+Local (packaged) crates
+=======================
+
+To use locally installed, packaged crates instead of crates.io put the
+following into ./.cargo/config (or point CARGO_HOME to a directory containing
+such a config file)::
+
+   [source]
+   [source.debian-packages]
+   directory = "/usr/share/cargo/registry"
+   [source.crates-io]
+   replace-with = "debian-packages"
+
+This is akin to what happens when building with dh_cargo. Cargo.lock needs to
+be deleted when switching between packaged crates and crates.io, since the
+checksums are not compatible.