3 ms·
This only applies to the `cargo install` command to install binaries from crates.io. If you work in a repository on your own project and use basically any othe
by hobofan 3y ago
This only applies to the `cargo install` command to install binaries from crates.io.
If you work in a repository on your own project and use basically any other cargo command (e.g. `cargo build`, `cargo run`), the lock file is of course taken into account (otherwise it would be near-useless).
- frankjr 3y agoRight but that's not the only use case for `cargo install`. You can also use it to install binaries system wide from cloned repositories (`cargo install --path .`). I use this often for small utilities (for which I have no intention of publishing to crates.io) or when testing before packaging for Arch.