Skip to content

Commit

Permalink
Auto merge of #5527 - tcr:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
Point Source Replacement to the Overriding Dependencies section

This would've saved me a minute. This mirrors a similarly helpful caveat in [the [patch] section](https://doc.rust-lang.org/cargo/reference/manifest.html#the-patch-section).
  • Loading branch information
bors committed May 13, 2018
2 parents b24b455 + c38c6db commit e92a443
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/doc/src/reference/source-replacement.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Source Replacement

This document is about replacing the crate index. You can read about overriding
dependencies in the [overriding dependencies][overriding] section of this
documentation.

Cargo supports the ability to **replace one source with another** to express
strategies along the lines of mirrors or vendoring dependencies. Configuration
is currently done through the [`.cargo/config` configuration][config] mechanism,
Expand Down Expand Up @@ -56,6 +60,7 @@ dependencies through the usage of [the `[replace]` key][replace-section], and
private registry support is planned for a future version of Cargo.

[replace-section]: reference/manifest.html#the-replace-section
[overriding]: reference/specifying-dependencies.html#overriding-dependencies

### Configuration

Expand Down

0 comments on commit e92a443

Please sign in to comment.