Add --locked flag to cargo install invocation
This patch adds the --locked flag to the cargo install invocation in INSTALL.md as this makes sure that the users ends up with tested and working dependency versions.
This commit is contained in:
parent
48405481d0
commit
686b8bb1b0
@ -1,5 +1,5 @@
|
||||
<!---
|
||||
SPDX-FileCopyrightText: 2020 Robin Krahl <robin.krahl@ireas.org>
|
||||
SPDX-FileCopyrightText: 2020-2021 Robin Krahl <robin.krahl@ireas.org>
|
||||
SPDX-License-Identifier: MIT
|
||||
-->
|
||||
|
||||
@ -74,5 +74,9 @@ To compile rusty-man, you need Rust 1.40 or later.
|
||||
### Installing from crates.io
|
||||
|
||||
```
|
||||
cargo install rusty-man
|
||||
cargo install rusty-man --locked
|
||||
```
|
||||
|
||||
You can omit the `--locked` option to use the latest dependency versions
|
||||
available. Note that this might cause issues if a dependency breaks semantic
|
||||
versioning.
|
||||
|
Loading…
Reference in New Issue
Block a user