]> git.lizzy.rs Git - rust.git/blob - src/docs/multiple_crate_versions.txt
Auto merge of #9425 - kraktus:patch-1, r=xFrednet
[rust.git] / src / docs / multiple_crate_versions.txt
1 ### What it does
2 Checks to see if multiple versions of a crate are being
3 used.
4
5 ### Why is this bad?
6 This bloats the size of targets, and can lead to
7 confusing error messages when structs or traits are used interchangeably
8 between different versions of a crate.
9
10 ### Known problems
11 Because this can be caused purely by the dependencies
12 themselves, it's not always possible to fix this issue.
13
14 ### Example
15 ```
16 [dependencies]
17 ctrlc = "=3.1.0"
18 ansi_term = "=0.11.0"
19 ```