From: Volker Mische Date: Wed, 11 Oct 2017 19:18:41 +0000 (+0200) Subject: Remove wrong information about git repository X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~6^2~8^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1d948a2458870a4876fbb982e38aec906fed302f;p=cargo.git Remove wrong information about git repository Dependencies cannot be a git repository when published to crates.io. --- diff --git a/src/doc/book/src/reference/specifying-dependencies.md b/src/doc/book/src/reference/specifying-dependencies.md index 503dcd099..b4f81fa8b 100644 --- a/src/doc/book/src/reference/specifying-dependencies.md +++ b/src/doc/book/src/reference/specifying-dependencies.md @@ -154,8 +154,7 @@ all of its own dependencies, and others can also start using the crate as well. However, crates that use dependencies specified with only a path are not permitted on [crates.io]. If we wanted to publish our `hello_world` crate, we would need to publish a version of `hello_utils` to [crates.io](https://crates.io) -(or specify a `git` repository location) and specify its version in -the dependencies line as well: +and specify its version in the dependencies line as well: ```toml [dependencies] diff --git a/src/doc/specifying-dependencies.md b/src/doc/specifying-dependencies.md index 35089cfb9..aa473769a 100644 --- a/src/doc/specifying-dependencies.md +++ b/src/doc/specifying-dependencies.md @@ -155,8 +155,7 @@ all of its own dependencies, and others can also start using the crate as well. However, crates that use dependencies specified with only a path are not permitted on [crates.io]. If we wanted to publish our `hello_world` crate, we would need to publish a version of `hello_utils` to [crates.io](https://crates.io) -(or specify a `git` repository location) and specify its version in -the dependencies line as well: +and specify its version in the dependencies line as well: ```toml [dependencies]