From 0eaa4a78107cab7f04aa775b02823b2da6f83aad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 2 Jan 2020 14:10:18 +0100 Subject: [PATCH] add README.rst MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- README.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.rst diff --git a/README.rst b/README.rst new file mode 100644 index 00000000..c4757070 --- /dev/null +++ b/README.rst @@ -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. -- 2.39.5