]> git.proxmox.com Git - cargo.git/commit
Auto merge of #5713 - mbrubeck:doc, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 11 Jul 2018 18:24:19 +0000 (18:24 +0000)
committerbors <bors@rust-lang.org>
Wed, 11 Jul 2018 18:24:19 +0000 (18:24 +0000)
commit5486fa752e292216708f05f6333085e04e5d98fc
tree775d95441a154cc46a4e4bba64c2ffd171c99e1f
parentcc11d50a27c55c349403bdfa97a2d30b29698d21
parent4bec25962ac310f1dbda6a50c175abc5598950fb
Auto merge of #5713 - mbrubeck:doc, r=alexcrichton

Clarify FAQ about Cargo.lock for libraries

The current wording in the FAQ implies that checking in a Cargo.lock for a library could cause version conflicts in consumers of the library, which is not true.

The text in the FAQ was based on [this comment][1] (emphasis mine):

> If each dependent library checked in a Cargo.lock, **and Cargo used it,** you would instead get multiple, duplicate copies of those dependencies

but it accidentally dropped the "and Cargo used it" requirement, which I think is the more important part.

[1]: https://github.com/rust-lang/cargo/pull/534#issuecomment-54776481