From 4cbdccc00e7361399f2a03ebd63eb882978ef7d7 Mon Sep 17 00:00:00 2001 From: messense Date: Fri, 14 Oct 2022 10:22:32 +0800 Subject: [PATCH] docs: use `cargo install --locked` Fixes #1196 --- guide/src/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/src/installation.md b/guide/src/installation.md index c61fc0a55..4d31ff517 100644 --- a/guide/src/installation.md +++ b/guide/src/installation.md @@ -62,11 +62,11 @@ You can download precompiled maturin binaries from the latest [GitHub Releases]( You can install maturin from [crates.io](https://crates.io/crates/maturin) using cargo: ```bash -cargo install maturin +cargo install --locked maturin ``` ### Git repository ```bash -cargo install --git https://github.com/PyO3/maturin.git maturin +cargo install --locked --git https://github.com/PyO3/maturin.git maturin ```