diff options
author | Aleksey Kladov <[email protected]> | 2021-04-02 11:59:36 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-04-02 11:59:36 +0100 |
commit | 27b779d1fd7a690a065099e51aed253e6a5f3a6c (patch) | |
tree | d358d9c58536f1a894031490aae01e714d049a3f | |
parent | aca9004c7e4bafe1fc60d0e0298f5687b2e7615a (diff) |
internal: document Cargo.lock maintenance process
-rw-r--r-- | docs/dev/style.md | 4 |
1 files 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 | |||
55 | We try to be very conservative with usage of crates.io dependencies. | 55 | We try to be very conservative with usage of crates.io dependencies. |
56 | Don't use small "helper" crates (exception: `itertools` is allowed). | 56 | Don't use small "helper" crates (exception: `itertools` is allowed). |
57 | If there's some general reusable bit of code you need, consider adding it to the `stdx` crate. | 57 | If there's some general reusable bit of code you need, consider adding it to the `stdx` crate. |
58 | A useful exercise is to read Cargo.lock and see if some of the *transitive* dependencies do not make sense for rust-analyzer. | ||
58 | 59 | ||
59 | **Rationale:** keep compile times low, create ecosystem pressure for faster | 60 | **Rationale:** keep compile times low, create ecosystem pressure for faster compiles, reduce the number of things which might break. |
60 | compiles, reduce the number of things which might break. | ||
61 | 61 | ||
62 | ## Commit Style | 62 | ## Commit Style |
63 | 63 | ||