Skip to content

Commit 389ad92

Browse files
committed
Document crates.io deps policy
1 parent ad239f6 commit 389ad92

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/dev/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,12 @@ That said, adding an innocent-looking `pub use` is a very simple way to break en
166166
Note: if you enjoyed this abstract hand-waving about boundaries, you might appreciate
167167
https://www.tedinski.com/2018/02/06/system-boundaries.html
168168

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+
169175
## Minimal Tests
170176

171177
Most tests in rust-analyzer start with a snippet of Rust code.

0 commit comments

Comments
 (0)