mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 17:01:57 +00:00
Update cheatsheets
This commit is contained in:
14
cargo-generate-lockfile
Normal file
14
cargo-generate-lockfile
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cargo generate-lockfile
|
||||
|
||||
> Generate the `Cargo.lock` file for the current package. Similar to `cargo update`, but has less options.
|
||||
> If the lockfile already exists it will be rebuilt with latest version of every package.
|
||||
> More information: <https://doc.rust-lang.org/stable/cargo/commands/cargo-generate-lockfile.html>.
|
||||
|
||||
- Generate a `Cargo.lock` file with the latest version of every package:
|
||||
|
||||
`cargo generate-lockfile`
|
||||
Reference in New Issue
Block a user