diff --git a/docs/usage/rust.md b/docs/usage/rust.md index 594abea989aab8..23c525e03d328d 100644 --- a/docs/usage/rust.md +++ b/docs/usage/rust.md @@ -34,7 +34,7 @@ Read the [Rust environment variables docs](https://doc.rust-lang.org/cargo/refer You as user can set authentication for private crates by adding a `hostRules` configuration to your `renovate.json` file. All token `hostRules` with a `hostType` (e.g. `github`, `gitlab`, `bitbucket`, etc.) and host rules without a `hostType` will be automatically setup for authentication. -You can also configure a `hostRules` that's only for Cargo authentication (e.g. `hostType: 'cargo'`). +You can also configure a `hostRules` that's only for Cargo authentication (e.g. `hostType: 'crate'`). ```js title="Example of authentication for a private GitHub and Cargo registry:" module.exports = { @@ -47,7 +47,7 @@ module.exports = { { matchHost: 'someGitHost.enterprise.com', token: process.env.CARGO_GIT_TOKEN, - hostType: 'cargo', + hostType: 'crate', }, ], };