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