From 27b779d1fd7a690a065099e51aed253e6a5f3a6c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 2 Apr 2021 13:59:36 +0300 Subject: internal: document Cargo.lock maintenance process --- docs/dev/style.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dev/style.md b/docs/dev/style.md index e4a1672ca..1b1c24b1e 100644 --- a/docs/dev/style.md +++ b/docs/dev/style.md @@ -55,9 +55,9 @@ https://www.tedinski.com/2018/02/06/system-boundaries.html We try to be very conservative with usage of crates.io dependencies. Don't use small "helper" crates (exception: `itertools` is allowed). If there's some general reusable bit of code you need, consider adding it to the `stdx` crate. +A useful exercise is to read Cargo.lock and see if some of the *transitive* dependencies do not make sense for rust-analyzer. -**Rationale:** keep compile times low, create ecosystem pressure for faster -compiles, reduce the number of things which might break. +**Rationale:** keep compile times low, create ecosystem pressure for faster compiles, reduce the number of things which might break. ## Commit Style -- cgit v1.2.3