Skip to main content

Translation layer between cargo and RPM

Project description

cargo2rpm

cargo2rpm implements a translation layer between cargo and RPM. It provides a CLI interface (for implementing RPM macros and generators) and a Python API (which rust2rpm is built upon).

The project serves as a dependency-free, pure-Python replacement for the old backend code in rust2rpm, which was no longer maintainable and could not be adapted to support the latest cargo features (i.e. "namespaced dependencies" and "weak dependency features", which were introduced in Rust 1.60.0).

To decouple the release cycles of the different components involved in packaging Rust projects (and prevent possible bootstrap problems), the code originally developed under the "rust2rpm" umbrella was split into three projects:

  • cargo2rpm: low-level functionality for translating between cargo and RPM
  • rust-packaging: RPM macros and generators built on top of the cargo2rpm CLI
  • rust2rpm: RPM spec file generator built on top of cargo2rpm

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cargo2rpm-0.1.18.tar.gz (84.9 kB view details)

Uploaded Source

File details

Details for the file cargo2rpm-0.1.18.tar.gz.

File metadata

  • Download URL: cargo2rpm-0.1.18.tar.gz
  • Upload date:
  • Size: 84.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for cargo2rpm-0.1.18.tar.gz
Algorithm Hash digest
SHA256 6ae8b3334d01617b1815e16e4a41b9ccdf50dcbb80fcd5c28bed86fdfd11b3e6
MD5 2f9ca3313c0baf685c924c8ec2750c96
BLAKE2b-256 9b3a8f582af1ab7421b1d48eba9563577f150c7856ff5deac7f4daabf8156385

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page