diff --git a/README.md b/README.md index ba61fe7a5..bbdef3c30 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ $ cargo test -- --ignored Install [`cargo-bolero`](https://github.com/camshaft/bolero) with ```sh -$ cargo install cargo-bolero +$ cargo install --locked cargo-bolero ``` Run fuzzing tests with diff --git a/deltachat-rpc-server/README.md b/deltachat-rpc-server/README.md index a5108c4c8..7cd84463d 100644 --- a/deltachat-rpc-server/README.md +++ b/deltachat-rpc-server/README.md @@ -11,7 +11,7 @@ Rename the downloaded binary to `deltachat-rpc-server` and add it to your `PATH` To install from source run: ```sh -cargo install --git https://github.com/chatmail/core/ deltachat-rpc-server +cargo install --locked --git https://github.com/chatmail/core/ deltachat-rpc-server ``` The `deltachat-rpc-server` executable will be installed into `$HOME/.cargo/bin` that should be available diff --git a/deltachat-rpc-server/npm-package/src/errors.js b/deltachat-rpc-server/npm-package/src/errors.js index 92f23c194..23737cf0b 100644 --- a/deltachat-rpc-server/npm-package/src/errors.js +++ b/deltachat-rpc-server/npm-package/src/errors.js @@ -2,7 +2,7 @@ import { ENV_VAR_NAME } from "./const.js"; const cargoInstallCommand = - "cargo install --git https://github.com/chatmail/core deltachat-rpc-server"; + "cargo install --locked --git https://github.com/chatmail/core deltachat-rpc-server"; export function NPM_NOT_FOUND_SUPPORTED_PLATFORM_ERROR(package_name) { return `deltachat-rpc-server not found: diff --git a/python/doc/jsonrpc/install.rst b/python/doc/jsonrpc/install.rst index 82daf44f5..d0f6133ff 100644 --- a/python/doc/jsonrpc/install.rst +++ b/python/doc/jsonrpc/install.rst @@ -17,7 +17,7 @@ Install ``deltachat-rpc-server`` To get ``deltachat-rpc-server`` binary you have three options: 1. Install ``deltachat-rpc-server`` from PyPI using ``pip install deltachat-rpc-server``. -2. Build and install ``deltachat-rpc-server`` from source with ``cargo install --git https://github.com/chatmail/core/ deltachat-rpc-server``. +2. Build and install ``deltachat-rpc-server`` from source with ``cargo install --locked --git https://github.com/chatmail/core/ deltachat-rpc-server``. 3. Download prebuilt release from https://github.com/chatmail/core/releases and install it into ``PATH``. Check that ``deltachat-rpc-server`` is installed and can run::