diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-31 16:17:56 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-31 16:17:56 +0100 |
commit | c1e53d668f2f44656ffeca31f06b8ed380426b08 (patch) | |
tree | d4d51d6ea37b6d3615739d08624a72c0665fa9f2 | |
parent | 7325283c6977e078513b5b21aa173775e2b22e12 (diff) | |
parent | 389ad925ffc534e46a2374030b0fbb3d4f75f3c9 (diff) |
Merge #5625
5625: Document crates.io deps policy r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r-- | docs/dev/README.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md index 417352c9d..2896d333e 100644 --- a/docs/dev/README.md +++ b/docs/dev/README.md | |||
@@ -166,6 +166,12 @@ That said, adding an innocent-looking `pub use` is a very simple way to break en | |||
166 | Note: if you enjoyed this abstract hand-waving about boundaries, you might appreciate | 166 | Note: if you enjoyed this abstract hand-waving about boundaries, you might appreciate |
167 | https://www.tedinski.com/2018/02/06/system-boundaries.html | 167 | https://www.tedinski.com/2018/02/06/system-boundaries.html |
168 | 168 | ||
169 | ## Crates.io Dependencies | ||
170 | |||
171 | We try to be very conservative with usage of crates.io dependencies. | ||
172 | Don't use small "helper" crates (exception: `itertools` is allowed). | ||
173 | If there's some general reusable bit of code you need, consider adding it to the `stdx` crate. | ||
174 | |||
169 | ## Minimal Tests | 175 | ## Minimal Tests |
170 | 176 | ||
171 | Most tests in rust-analyzer start with a snippet of Rust code. | 177 | Most tests in rust-analyzer start with a snippet of Rust code. |