Skip to content

Commit 1d6b4d2

Browse files
Centrilnrc
andauthored
Update posts/2019-07-04-Rust-1.36.0.md
Co-Authored-By: Nick Cameron <nrc@ncameron.org>
1 parent 6977335 commit 1d6b4d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

posts/2019-07-04-Rust-1.36.0.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ During most builds, Cargo doesn't interact with the network. Sometimes, however,
108108

109109
In Rust 1.36, a new Cargo flag has been stabilized: [`--offline`]. The flag alters Cargo's dependency resolution algorithm to only use locally cached dependencies. When the required crates are not available offline, and a network access would be required, Cargo will exit with an error. To prepopulate the local cache in preparation for going offline, use the [`cargo fetch`] command, which downloads all the required dependencies for a project.
110110

111+
[nrc-blog]: https://www.ncameron.org/blog/cargo-offline/
112+
113+
For more details, read Nick Cameron's [blog post][nrc-blog].
114+
111115
[relnotes-cargo]: https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-136-2019-07-04
112116

113117
For information on other changes to Cargo, see the [detailed release notes][relnotes-cargo].

0 commit comments

Comments
 (0)