File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,11 @@ the latest commit on a branch named `next`:
147
147
rand = { git = " https://github.com/rust-lang-nursery/rand" , branch = " next" }
148
148
```
149
149
150
+ Once a ` git ` dependency has been added, Cargo will lock that dependency to the
151
+ latest commit at the time. New commits will not be pulled down automatically
152
+ once the lock is in place. However, they can be pulled down manually with
153
+ ` cargo update ` .
154
+
150
155
See [ Git Authentication] for help with git authentication for private repos.
151
156
152
157
> ** Note** : [ crates.io] does not allow packages to be published with ` git `
@@ -445,5 +450,3 @@ log-debug = ['foo/log-debug'] # using 'bar/log-debug' would be an error!
445
450
}
446
451
})();
447
452
</script >
448
-
449
-
You can’t perform that action at this time.
0 commit comments