@@ -197,6 +197,13 @@ varies by where the repo is hosted; GitHub in particular exposes a reference to
197
197
the most recent commit of every pull request as shown, but other git hosts often
198
198
provide something equivalent, possibly under a different naming scheme.
199
199
200
+ Once a ` git ` dependency has been added, Cargo will lock that dependency to the
201
+ latest commit at the time. New commits will not be pulled down automatically
202
+ once the lock is in place. However, they can be pulled down manually with
203
+ ` cargo update ` .
204
+
205
+ See [ Git Authentication] for help with git authentication for private repos.
206
+
200
207
> ** Note** : Neither the ` git ` key nor the ` path ` key changes the meaning of the
201
208
> ` version ` key: the ` version ` key always implies that the package is available
202
209
> in a registry. ` version ` , ` git ` , and ` path ` keys are considered [ separate
@@ -206,13 +213,6 @@ provide something equivalent, possibly under a different naming scheme.
206
213
> affect which commit is used, but the version information in the dependency's
207
214
> ` Cargo.toml ` file will still be validated against the ` version ` requirement.
208
215
209
- Once a ` git ` dependency has been added, Cargo will lock that dependency to the
210
- latest commit at the time. New commits will not be pulled down automatically
211
- once the lock is in place. However, they can be pulled down manually with
212
- ` cargo update ` .
213
-
214
- See [ Git Authentication] for help with git authentication for private repos.
215
-
216
216
> ** Note** : [ crates.io] does not allow packages to be published with
217
217
> dependencies on code published outside of [ crates.io] itself
218
218
> ([ dev-dependencies] are ignored). See the [ Multiple
0 commit comments