#cargo-toml #toml #manipulate #cargo #command-line-tool #cli #version

deprecated app cargoman

Small command line tool to programmatically manipulate Cargo.toml files

3 releases

0.2.3 Apr 7, 2024
0.2.2 Nov 1, 2020
0.2.1 Oct 30, 2020

#65 in #manipulate

Download history 3/week @ 2024-02-26 7/week @ 2024-03-11 114/week @ 2024-04-01 58/week @ 2024-04-08

172 downloads per month

MIT/Apache

19KB
365 lines

cargoman (DEPRECATED)

WARNING: This project has been superseded by rust2rpm-helper and is no longer maintained.


cargoman provides a basic CLI to manipulate Cargo.toml files.

At the moment, it can perform two tasks that are frequently necessary for RPM packaging:

  • normalize targets (flatten "targets" by either making the dependencies target-independent or by removing them)
  • override dependency versions

The goal of this project is to eventually make it unnecessary to manually patch Cargo.toml files for RPM packages of Rust crates in Fedora and to automate these modifications as part of the build process instead.

Dependencies

~3–4.5MB
~74K SLoC