Remove wrong information about git repository
authorVolker Mische <volker.mische@gmail.com>
Wed, 11 Oct 2017 19:18:41 +0000 (21:18 +0200)
committerVolker Mische <volker.mische@gmail.com>
Wed, 11 Oct 2017 19:22:32 +0000 (21:22 +0200)
Dependencies cannot be a git repository when published to crates.io.

src/doc/book/src/reference/specifying-dependencies.md
src/doc/specifying-dependencies.md

index 503dcd09986c3c699db5d01244c28f5a2369542c..b4f81fa8b333f1d52b8794b42d0de188a8aca838 100644 (file)
@@ -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]
index 35089cfb9779670291e6ab784a1c0d91e72b53c8..aa473769a70e99b042d45c4575a3893bf2bb6120 100644 (file)
@@ -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]