From 1d948a2458870a4876fbb982e38aec906fed302f Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Wed, 11 Oct 2017 21:18:41 +0200 Subject: [PATCH] Remove wrong information about git repository Dependencies cannot be a git repository when published to crates.io. --- src/doc/book/src/reference/specifying-dependencies.md | 3 +-- src/doc/specifying-dependencies.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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] -- 2.30.2