Skip to content

Automated Dependency Updates for Cargo

Renovate supports updating Cargo dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)Cargo\.toml$.

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: crate.

Default config

  "commitMessageTopic": "Rust crate {{depName}}",
  "fileMatch": [
  "versioning": "cargo"

Additional Information

Extracts dependencies from Cargo.toml files, and also updates Cargo.lock files too if found.

Open items

The below list of features were current when this page was generated on June 06, 2023.

Feature requests

  • Support Rust/Cargo constraints when updating artifacts #6365