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

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.4.0.tar.gz (95.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: cargo2rpm-0.4.0.tar.gz
  • Upload date:
  • Size: 95.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for cargo2rpm-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9628e95df682efdea2cebfbb3cba20c891c5e1eceafdce14076665cbbbe379da
MD5 2ebb92b786dfb2353652b91e21d198c8
BLAKE2b-256 6de0d69509f712523ddffd93d8fb4a38c01921a9f76496eff05e11a0b751a474

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 file

0.3.4

1 file

0.3.0

1 file

0.2.0

1 file

0.1.18

1 file

0.1.17

1 file

0.1.16

1 file

0.1.15

1 file

0.1.14

1 file

0.1.13

1 file

0.1.12

1 file

0.1.11

1 file

0.1.10

1 file

0.1.9

1 file

0.1.8

1 file

0.1.7

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

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