@@ -56,6 +56,9 @@ available at <https://rust-lang.org>.
5656
5757### Manifest Commands
5858
59+ [ cargo-add(1)] ( cargo-add.html ) \
60+   ;  ;  ;  ; Add dependencies to a ` Cargo.toml ` manifest file.
61+
5962[ cargo-generate-lockfile(1)] ( cargo-generate-lockfile.html ) \
6063  ;  ;  ;  ; Generate ` Cargo.lock ` for a project.
6164
@@ -68,6 +71,9 @@ available at <https://rust-lang.org>.
6871[ cargo-pkgid(1)] ( cargo-pkgid.html ) \
6972  ;  ;  ;  ; Print a fully qualified package specification.
7073
74+ [ cargo-remove(1)] ( cargo-remove.html ) \
75+   ;  ;  ;  ; Remove dependencies from a ` Cargo.toml ` manifest file.
76+
7177[ cargo-tree(1)] ( cargo-tree.html ) \
7278  ;  ;  ;  ; Display a tree visualization of a dependency graph.
7379
@@ -180,21 +186,21 @@ terminal.</li>
180186<a href =" ../reference/config.html " >config value</a >.</dd >
181187
182188
183-
184189</dl >
185190
186191### Manifest Options
187192
188193<dl >
189- <dt class =" option-term " id =" option-cargo---frozen " ><a class =" option-anchor " href =" #option-cargo---frozen " ></a ><code >--frozen</code ></dt >
190194<dt class =" option-term " id =" option-cargo---locked " ><a class =" option-anchor " href =" #option-cargo---locked " ></a ><code >--locked</code ></dt >
191- <dd class =" option-desc " >Either of these flags requires that the <code >Cargo.lock</code > file is
192- up-to-date. If the lock file is missing, or it needs to be updated, Cargo will
193- exit with an error. The <code >--frozen</code > flag also prevents Cargo from
194- attempting to access the network to determine if it is out-of-date.</p >
195- <p >These may be used in environments where you want to assert that the
196- <code >Cargo.lock</code > file is up-to-date (such as a CI build) or want to avoid network
197- access.</dd >
195+ <dd class =" option-desc " >Asserts that the exact same dependencies and versions are used as when the
196+ existing <code >Cargo.lock</code > file was originally generated. Cargo will exit with an
197+ error when either of the following scenarios arises:</p >
198+ <ul >
199+ <li >The lock file is missing.</li >
200+ <li >Cargo attempted to change the lock file due to a different dependency resolution.</li >
201+ </ul >
202+ <p >It may be used in environments where deterministic builds are desired,
203+ such as in CI pipelines.</dd >
198204
199205
200206<dt class =" option-term " id =" option-cargo---offline " ><a class =" option-anchor " href =" #option-cargo---offline " ></a ><code >--offline</code ></dt >
@@ -210,6 +216,9 @@ offline.</p>
210216<p >May also be specified with the <code >net.offline</code > <a href =" ../reference/config.html " >config value</a >.</dd >
211217
212218
219+ <dt class =" option-term " id =" option-cargo---frozen " ><a class =" option-anchor " href =" #option-cargo---frozen " ></a ><code >--frozen</code ></dt >
220+ <dd class =" option-desc " >Equivalent to specifying both <code >--locked</code > and <code >--offline</code >.</dd >
221+
213222</dl >
214223
215224### Common Options
@@ -252,19 +261,16 @@ requires the <code>-Z unstable-options</code> flag to enable (see
252261
253262</dl >
254263
255-
256264## ENVIRONMENT
257265
258266See [ the reference] ( ../reference/environment-variables.html ) for
259267details on environment variables that Cargo reads.
260268
261-
262269## EXIT STATUS
263270
264271* ` 0 ` : Cargo succeeded.
265272* ` 101 ` : Cargo failed to complete.
266273
267-
268274## FILES
269275
270276` ~/.cargo/ ` \
0 commit comments