mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Merge #5625
5625: Document crates.io deps policy r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
c1e53d668f
1 changed files with 6 additions and 0 deletions
|
@ -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
|
Note: if you enjoyed this abstract hand-waving about boundaries, you might appreciate
|
||||||
https://www.tedinski.com/2018/02/06/system-boundaries.html
|
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
|
## Minimal Tests
|
||||||
|
|
||||||
Most tests in rust-analyzer start with a snippet of Rust code.
|
Most tests in rust-analyzer start with a snippet of Rust code.
|
||||||
|
|
Loading…
Reference in a new issue