about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-07-31 17:17:32 +0200
committerAleksey Kladov <aleksey.kladov@gmail.com>2020-07-31 17:17:32 +0200
commit389ad925ffc534e46a2374030b0fbb3d4f75f3c9 (patch)
treef772dee571de6645a594f7f5c0457e492b6ec905 /docs/dev
parentad239f6197bda31f7a9b904b5ccb25c93cbc701a (diff)
downloadrust-389ad925ffc534e46a2374030b0fbb3d4f75f3c9.tar.gz
rust-389ad925ffc534e46a2374030b0fbb3d4f75f3c9.zip
Document crates.io deps policy
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md
index 417352c9ddc..2896d333eee 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
 Note: if you enjoyed this abstract hand-waving about boundaries, you might appreciate
 https://www.tedinski.com/2018/02/06/system-boundaries.html
 
+## Crates.io Dependencies
+
+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.
+
 ## Minimal Tests
 
 Most tests in rust-analyzer start with a snippet of Rust code.