Skip to main content

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

Metadata

Release files for cargo2rpm 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cargo2rpm 0.4.0
File Size Uploaded Provenance
cargo2rpm-0.4.0.tar.gz 95.2 kB Without provenance Details

Release files / cargo2rpm-0.4.0.tar.gz

Download URL cargo2rpm-0.4.0.tar.gz
Size 95.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9628e95df682efdea2cebfbb3cba20c891c5e1eceafdce14076665cbbbe379da
BLAKE2b-256 checksum
How to use checksums
6de0d69509f712523ddffd93d8fb4a38c01921a9f76496eff05e11a0b751a474
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for cargo2rpm 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page