Skip to content

Glossary: Rust in Practice

Cargo.lock

Also written: lock file

The file where Cargo records the exact version of every dependency. A workspace has one at its root, so all members share versions.

Where the book teaches it

Related terms

workspace