]> git.proxmox.com Git - proxmox-backup.git/blame - README.rst
add README.rst
[proxmox-backup.git] / README.rst
CommitLineData
0eaa4a78
FG
1Versioning of proxmox helper crates
2===================================
3
4To use current git master code of the proxmox* helper crates, add::
5
6 git = "ssh://gitolite3@proxdev.maurer-it.com/rust/proxmox"
7
8to the proxmox dependency, and update the version to reflect the current,
9pre-release version number (e.g., "0.1.1-dev.1" instead of "0.1.0").
10
11Local (packaged) crates
12=======================
13
14To use locally installed, packaged crates instead of crates.io put the
15following into ./.cargo/config (or point CARGO_HOME to a directory containing
16such a config file)::
17
18 [source]
19 [source.debian-packages]
20 directory = "/usr/share/cargo/registry"
21 [source.crates-io]
22 replace-with = "debian-packages"
23
24This is akin to what happens when building with dh_cargo. Cargo.lock needs to
25be deleted when switching between packaged crates and crates.io, since the
26checksums are not compatible.