Skip to content

Commit 7173c47

Browse files
tunakasifLee-W
authored andcommitted
docs(providers): update cargo explanation
Add `Cargo.lock` update information to the documentation.
1 parent d14218b commit 7173c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/config.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ Commitizen provides some version providers for some well known formats:
353353
| `pep621` | Get and set version from `pyproject.toml` `project.version` field |
354354
| `poetry` | Get and set version from `pyproject.toml` `tool.poetry.version` field |
355355
| `uv` | Get and set version from `pyproject.toml` `project.version` field and `uv.lock` `package.version` field whose `package.name` field is the same as `pyproject.toml` `project.name` field |
356-
| `cargo` | Get and set version from `Cargo.toml` `project.version` field |
356+
| `cargo` | Get and set version from `Cargo.toml` `package.version` field and `Cargo.lock` `package.version` field whose `package.name` field is the same as `Cargo.toml` `package.name` field |
357357
| `npm` | Get and set version from `package.json` `version` field, `package-lock.json` `version,packages.''.version` fields if the file exists, and `npm-shrinkwrap.json` `version,packages.''.version` fields if the file exists |
358358
| `composer` | Get and set version from `composer.json` `project.version` field |
359359

0 commit comments

Comments
 (0)