From c38c6db88448c7e214a83fb2bc280b6619987376 Mon Sep 17 00:00:00 2001 From: Tim Ryan Date: Sun, 13 May 2018 01:51:54 -0400 Subject: [PATCH] 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). --- src/doc/src/reference/source-replacement.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/doc/src/reference/source-replacement.md b/src/doc/src/reference/source-replacement.md index 20099b29c91..a70affc7f00 100644 --- a/src/doc/src/reference/source-replacement.md +++ b/src/doc/src/reference/source-replacement.md @@ -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, @@ -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