cargo-modules VS cargo-deb

Compare cargo-modules vs cargo-deb and see what are their differences.

cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml (by mmstick)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
cargo-modules cargo-deb
3 7
716 629
- -
9.5 1.1
5 days ago over 2 years ago
Rust Rust
Mozilla Public License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cargo-modules

Posts with mentions or reviews of cargo-modules. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-24.

cargo-deb

Posts with mentions or reviews of cargo-deb. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-07.
  • GitUI
    5 projects | news.ycombinator.com | 7 Jan 2024
    I mean, there's tools that make it easy to make a .deb https://crates.io/crates/cargo-deb

    The Rust Project itself had put a lot of work into making sure that Rust and Rust-using programs could get into Debian by working with Debian folks to address issues.

    I suspect that you've run into an anecdotal pattern, but I'm not sure that it is more than that.

  • What are some useful tools for Rust?
    10 projects | /r/rust | 3 May 2023
    I use Cargo deb to create Debian / Ubuntu / ... package files.
  • Introducing runst: A dead simple notification daemon written in Rust
    6 projects | /r/rust | 5 Mar 2023
    As a suggestion if you want to get a lot of users you could make a .deb file that packages the binary and a systemd service file. Using cargo-deb it's pretty trivial, the hardest part would be writing your systemd service file and you can probably just copy the dunst.service file with minimal modification:
  • How can I codesign executables for different platforms?
    1 project | /r/rust | 14 Feb 2023
  • Have you guys tried cargo-deb? Amazing!
    3 projects | /r/rust | 17 May 2022
    https://crates.io/crates/cargo-deb https://github.com/kornelski/cargo-deb
  • Rustup, Cargo, Rustc??
    2 projects | /r/rust | 1 Mar 2021
    cargo install does provide different options to change the installation dir (https://doc.rust-lang.org/cargo/commands/cargo-install.html) but I am uncertain, if there could be accociated issues. An alternative could be tools like https://github.com/mmstick/cargo-deb or https://github.com/iqlusioninc/cargo-rpm that can automatically create packages which can be used for a proper installation /usr/bin/ using your distributions packaging system.
  • Debian Discusses Vendoring–Again
    5 projects | news.ycombinator.com | 13 Jan 2021
    Cargo already has one: https://crates.io/crates/cargo-deb

What are some alternatives?

When comparing cargo-modules and cargo-deb you can also consider the following projects:

Rustup - The Rust toolchain installer

cargo-update - A cargo subcommand for checking and applying updates to installed executables

cargo-release - Cargo subcommand `release`: everything about releasing a rust crate.

cargo-ebuild - cargo extension that can generate ebuilds using the in-tree eclasses

crate-deps

cargo-make - Rust task runner and build tool.

Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

cargo-testify - Watches changes in a rust project, runs test and shows friendly notification

rustfmt - Format Rust code