cargoman

Crates.iocargoman
lib.rscargoman
version0.2.3
sourcesrc
created_at2020-10-30 19:50:23.694072
updated_at2024-04-07 19:16:06.255528
descriptionSmall command line tool to programmatically manipulate Cargo.toml files
homepage
repositoryhttps://github.com/ironthree/cargoman
max_upload_size
id307072
size39,144
Fabio Valentini (decathorpe)

documentation

README

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.

Commit count: 18

cargo fmt