]>
Commit | Line | Data |
---|---|---|
a6f21e76 FG |
1 | Local cargo config |
2 | ================== | |
8bd5e820 | 3 | |
a6f21e76 FG |
4 | This repository ships with a ``.cargo/config`` that replaces the crates.io |
5 | registry with packaged crates located in ``/usr/share/cargo/registry``. | |
8bd5e820 | 6 | |
a6f21e76 FG |
7 | A similar config is also applied building with dh_cargo. Cargo.lock needs to be |
8 | deleted when switching between packaged crates and crates.io, since the | |
8bd5e820 | 9 | checksums are not compatible. |
a6f21e76 FG |
10 | |
11 | To reference new dependencies (or updated versions) that are not yet packaged, | |
12 | the dependency needs to point directly to a path or git source. | |
b9e7824b WB |
13 | |
14 | Steps for Releases | |
15 | ================== | |
16 | ||
17 | - Cargo.toml updates: | |
18 | - Bump all modified crate versions. | |
19 | - Update all the other crates' Cargo.toml to depend on the new versions if | |
20 | required, then bump their version as well if not already done. | |
21 | - Update debian/changelog files in all the crates updated above. | |
22 | - Build packages with `make deb`. |