From 96e3fd9d37b5d38a55332ea196ddeafd8e777c4f Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Tue, 30 Apr 2024 14:00:33 -0700 Subject: [PATCH] Guidelines: avoid `cargo add` --- CODING_GUIDELINES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CODING_GUIDELINES.md b/CODING_GUIDELINES.md index 972f9a0d..ae463e2e 100644 --- a/CODING_GUIDELINES.md +++ b/CODING_GUIDELINES.md @@ -48,6 +48,8 @@ These should usually be prioritized in that order, but adjust the trade-off as n - **We do not have a changelog file**; we rely on [GitHub displaying all our releases](https://github.com/signalapp/libsignal/releases). +- **Avoid `cargo add`**, or fix up the Cargo.toml afterwards. Some of our dependency lists are organized and `cargo add` doesn't respect that. + - We do not have consistent guidelines for how to do errors in Rust, and the different crates do them differently. :-(