chainguard-dev / cargobump

Rust tool to declaratively bump dependencies using cargo
Apache License 2.0
0 stars 0 forks source link

support specifying the version with the package name #3

Closed hectorj2f closed 2 days ago

hectorj2f commented 2 days ago

Allow specifying a single package version from multiple ones:

packages:
    - name: rustix@0.37.7
      version: 0.37.25
    - name: rmp-serde
      version: 1.1.1
hectorj2f commented 2 days ago
cargobump --bump-file=/Users/hectorfernandez/os/zellij/cargobump-deps.yaml 
2024/11/21 12:28:23 INFO Update package: rmp-serde
2024/11/21 12:28:28 INFO Package updated successfully: rmp-serde to version 1.1.1
2024/11/21 12:28:28 INFO Update package with a specific version: rustix@0.37.7
2024/11/21 12:28:29 INFO Package updated successfully: rustix@0.37.7 to version 0.37.25