File tree 2 files changed +38
-4
lines changed
2 files changed +38
-4
lines changed Original file line number Diff line number Diff line change 2
2
.\" Title: cargo-package
3
3
.\" Author: [see the "AUTHOR(S)" section]
4
4
.\" Generator: Asciidoctor 1.5.8
5
- .\" Date: 2019-02-13
5
+ .\" Date: 2019-05-20
6
6
.\" Manual: \ \&
7
7
.\" Source: \ \&
8
8
.\" Language: English
9
9
.\"
10
- .TH "CARGO\- PACKAGE" "1" "2019-02-13 " "\ \& " "\ \& "
10
+ .TH "CARGO\- PACKAGE" "1" "2019-05-20 " "\ \& " "\ \& "
11
11
.ie \n( .g .ds Aq \(aq
12
12
.el .ds Aq '
13
13
.ss \n[ .ss ] 0
@@ -224,6 +224,23 @@ These may be used in environments where you want to assert that the
224
224
\fB Cargo.lock \fP file is up\- to\- date (such as a CI build) or want to avoid network
225
225
access.
226
226
.RE
227
+ .sp
228
+ \fB \-\- offline \fP
229
+ .RS 4
230
+ Prevents Cargo from accessing the network for any reason. Without this
231
+ flag, Cargo will stop with an error if it needs to access the network and
232
+ the network is not available. With this flag, Cargo will attempt to
233
+ proceed without the network if possible.
234
+ .sp
235
+ Beware that this may result in different dependency resolution than online
236
+ mode. Cargo will restrict itself to crates that are downloaded locally, even
237
+ if there might be a newer version as indicated in the local copy of the index.
238
+ See the \fB cargo \- fetch \fP (1) command to download dependencies before going
239
+ offline.
240
+ .sp
241
+ May also be specified with the \fB net.offline \fP \c
242
+ .URL " https://doc.rust\- lang.org/cargo/reference/config.html" " config value" " ."
243
+ .RE
227
244
.SS "Miscellaneous Options"
228
245
.sp
229
246
\fB \- j \fP \fI N \fP , \fB \-\- jobs \fP \fI N \fP
Original file line number Diff line number Diff line change 2
2
.\" Title: cargo
3
3
.\" Author: [see the "AUTHOR(S)" section]
4
4
.\" Generator: Asciidoctor 1.5.8
5
- .\" Date: 2019-02-05
5
+ .\" Date: 2019-05-20
6
6
.\" Manual: \ \&
7
7
.\" Source: \ \&
8
8
.\" Language: English
9
9
.\"
10
- .TH "CARGO" "1" "2019-02-05 " "\ \& " "\ \& "
10
+ .TH "CARGO" "1" "2019-05-20 " "\ \& " "\ \& "
11
11
.ie \n( .g .ds Aq \(aq
12
12
.el .ds Aq '
13
13
.ss \n[ .ss ] 0
@@ -286,6 +286,23 @@ These may be used in environments where you want to assert that the
286
286
\fB Cargo.lock \fP file is up\- to\- date (such as a CI build) or want to avoid network
287
287
access.
288
288
.RE
289
+ .sp
290
+ \fB \-\- offline \fP
291
+ .RS 4
292
+ Prevents Cargo from accessing the network for any reason. Without this
293
+ flag, Cargo will stop with an error if it needs to access the network and
294
+ the network is not available. With this flag, Cargo will attempt to
295
+ proceed without the network if possible.
296
+ .sp
297
+ Beware that this may result in different dependency resolution than online
298
+ mode. Cargo will restrict itself to crates that are downloaded locally, even
299
+ if there might be a newer version as indicated in the local copy of the index.
300
+ See the \fB cargo \- fetch \fP (1) command to download dependencies before going
301
+ offline.
302
+ .sp
303
+ May also be specified with the \fB net.offline \fP \c
304
+ .URL " https://doc.rust\- lang.org/cargo/reference/config.html" " config value" " ."
305
+ .RE
289
306
.SS "Common Options"
290
307
.sp
291
308
\fB \- h \fP , \fB \-\- help \fP
You can’t perform that action at this time.
0 commit comments