openSUSE talk:Packaging Rust Software

Jump to: navigation, search

Needs update

This page could do with an example of how to use rust-packaging. It simplifies certain aspects of packaging Rust. For example, you can just %define a variable named cargo_registry set to the constant value of $(pwd)/vendor to handle the cargo config.

Here are two package specs that use it:

Avindra (talk) 03:47, 15 June 2021 (UTC)

Vendor helper

I built some basic tools for generating vendoring tarballs. It handles Rust, as well as Go lang.

Its more or less usable and includes a workaround for the winapi problem.

https://github.com/avindra/suserpmutil

The way it works: basic shell script that unpacks tarballs, etc. assuming the conventions established at the Build Service.

Avindra (talk) 07:45, 9 July 2021 (UTC)