3 releases

0.1.2 Feb 15, 2021
0.1.1 Feb 12, 2021
0.1.0 Jan 29, 2021

#520 in Cargo plugins

MPL-2.0 license

12KB
159 lines

Cargo Lock 2 Rpm Provides

Fedora requires you to declare all bundled/vendored dependencies in RPMS. To help make this less painful, this tool allows generating that list for you to copy to your rpm.spec file.

Installation

cargo install cargo-lock2rpmprovides

Usage

From your Rust/Cargo project directory run:

cargo lock2rpmprovides

For debug run with:

cargo lock2rpmprovides -d

To use a different directory:

cargo lock2rpmprovides /folder/that/contains/rust/project

Dependencies

~4MB
~74K SLoC