]>
git.proxmox.com Git - rustc.git/blob - src/tools/cargo/src/bin/cargo/commands/generate_lockfile.rs
1 use crate::command_prelude
::*;
5 pub fn cli() -> Command
{
6 subcommand("generate-lockfile")
7 .about("Generate the lockfile for a package")
10 .after_help("Run `cargo help generate-lockfile` for more detailed information.\n")
13 pub fn exec(config
: &mut Config
, args
: &ArgMatches
) -> CliResult
{
14 let ws
= args
.workspace(config
)?
;
15 ops
::generate_lockfile(&ws
)?
;