]> git.proxmox.com Git - proxmox-backup.git/blame - README.rst
debian: bump dependency versions
[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
88625f20
FG
8or::
9
10 path = "../proxmox/proxmox"
11
0eaa4a78
FG
12to the proxmox dependency, and update the version to reflect the current,
13pre-release version number (e.g., "0.1.1-dev.1" instead of "0.1.0").
14
88625f20
FG
15Local cargo config
16==================
0eaa4a78 17
88625f20
FG
18This repository ships with a ``.cargo/config`` that replaces the crates.io
19registry with packaged crates located in ``/usr/share/cargo/registry``.
0eaa4a78 20
88625f20
FG
21A similar config is also applied building with dh_cargo. Cargo.lock needs to be
22deleted when switching between packaged crates and crates.io, since the
0eaa4a78 23checksums are not compatible.
88625f20
FG
24
25To reference new dependencies (or updated versions) that are not yet packaged,
26the dependency needs to point directly to a path or git source (e.g., see
27example for proxmox crate above).