]>
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 | ||
8 | to the proxmox dependency, and update the version to reflect the current, | |
9 | pre-release version number (e.g., "0.1.1-dev.1" instead of "0.1.0"). | |
10 | ||
11 | Local (packaged) crates | |
12 | ======================= | |
13 | ||
14 | To use locally installed, packaged crates instead of crates.io put the | |
15 | following into ./.cargo/config (or point CARGO_HOME to a directory containing | |
16 | such 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 | ||
24 | This is akin to what happens when building with dh_cargo. Cargo.lock needs to | |
25 | be deleted when switching between packaged crates and crates.io, since the | |
26 | checksums are not compatible. |