mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
19 lines
850 B
Plaintext
19 lines
850 B
Plaintext
Generate the lockfile for a package
|
|
|
|
Usage: cargo[EXE] generate-lockfile [OPTIONS]
|
|
|
|
Options:
|
|
-q, --quiet Do not print cargo log messages
|
|
--manifest-path <PATH> Path to Cargo.toml
|
|
-h, --help Print help
|
|
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
|
|
--color <WHEN> Coloring: auto, always, never
|
|
--frozen Require Cargo.lock and cache are up to date
|
|
--locked Require Cargo.lock is up to date
|
|
--offline Run without accessing the network
|
|
--config <KEY=VALUE> Override a configuration value
|
|
-Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for
|
|
details
|
|
|
|
Run `cargo help generate-lockfile` for more detailed information.
|