From a84730198d8e2a3719290cbb5fba1421514d83a2 Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Wed, 11 Dec 2019 15:26:27 +0000 Subject: [PATCH] readme: Add note about Cargo dependencies --- HACKING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HACKING.md b/HACKING.md index 126cd270..8309ea0e 100644 --- a/HACKING.md +++ b/HACKING.md @@ -117,6 +117,8 @@ sh /source_path/cargo.sh test ### Cargo dependencies +All Cargo dependencies must be selected in the version available in PureOS, and added to the file `debian/control`. Please check with https://software.pureos.net/search_pkg?term=librust . + Dependencies must be specified in `Cargo.toml` with 2 numbers: "major.minor". Since bugfix version number is meant to not affect the interface, this allows for safe updates. `Cargo.lock` is used for remembering the revisions of all Rust dependencies. It should be updated often, preferably with each bugfix revision, and in a commit on its own: