cargo-ebuild VS cargo-release

Compare cargo-ebuild vs cargo-release and see what are their differences.

cargo-ebuild

cargo extension that can generate ebuilds using the in-tree eclasses (by cardoe)

cargo-release

Cargo subcommand `release`: everything about releasing a rust crate. (by crate-ci)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
cargo-ebuild cargo-release
6 11
79 1,244
- 2.3%
0.9 9.1
over 2 years ago 10 days ago
Rust Rust
GNU General Public License v3.0 or later Apache License 2.0
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-ebuild

Posts with mentions or reviews of cargo-ebuild. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-04.
  • diziet | Debian’s approach to Rust
    2 projects | /r/rust | 4 Jan 2022
    In Gentoo, Rust crates are just normal files to be downloaded in order to build a given package. The package pins (and checks the hashes of) the crate deps, and builds using cargo --offline. There is no serde/clap/etc packages, just ripgrep/librsvg/etc packages. There is no need to patch all packages to use the same serde crate version. Packaging a Rust program in gentoo is pretty much automatic.
  • How do I adjust fan curves on AMDGPU?
    5 projects | /r/Gentoo | 11 Nov 2021
    Then, I went through like 3 different pages on gentoo and learned how to make my own rebuild using this... But after setting up my custom repo and making sure it had the right permissions, manifest, etc. the ebuild failed on account of not being able to find the Config.yoml file it needed, which exists in the directory I built the ebuild from. I think I am just SOL on this, and will have to probably find a different approach
  • Cooperative Package Management for Python
    5 projects | news.ycombinator.com | 1 Sep 2021
    FWIW it's worth for portage (Gentoo) there is g-sorcery[0], which can create ebuilds for Emacs (m/elpa) and python packages automatically. Similarly there is also cargo-ebuild[1] which can create ebuilds for rust programs/libraries, including a list of all dependencies with hashes.

    I've successfully used cargo-ebuild in the past to create ebuilds automatically, it's a breeze. I'd be surprised if similar tools didn't exist for deb/rpm based distros.

    [0]:https://github.com/jauhien/g-sorcery

    [1]: https://github.com/cardoe/cargo-ebuild

  • Can Anybody Help Me With My Custom Ebuild for xplr?
    4 projects | /r/Gentoo | 25 Jun 2021
    I'm working on a custom repository where I intend to write ebuild files for packages that's not supported by Gentoo's repository. Right now, I'm trying to write an ebuild file for xplr, which is a Rust project that uses the Cargo build system. Initially, I used the cargo-ebuild tool, which generated the file xplr-0.14.3.ebuild.
  • Wrote my first ebuild and created an overlay
    1 project | /r/Gentoo | 23 Feb 2021
    Maybe you already know, but specifically for making Rust ebuilds and filling the CRATES variable there's a tool cargo-ebuild to automatically extract that from Cargo.toml.
  • In the full retrospect what are some pros and cons on converting to gentoo from the blue distro?
    1 project | /r/Gentoo | 28 Jan 2021
    I have zero issues with Gentoo's Rust and Rust-using packages. I use rustup's Rust and cargo install for development, and maintain a gentoo package using cargo ebuild.

cargo-release

Posts with mentions or reviews of cargo-release. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-23.
  • Changelog-Driven Releases
    5 projects | news.ycombinator.com | 23 Apr 2024
    My problem with maintaining a changelog during development is it can serve as a source of merge conflicts. Instead, I follow Covnentional Commit style and manually write my changelog entries based on the commits. I have a tool [0] that can show me the relevant commits for a package in my repo and automates the entire release process, including doing sanity checks.

    I also feel like releasing from CI is hard, especially if you have multiple packages in a repo [1], including

    - You can't as easily introspect the process

    - You can't as easily recover from failure

    - Getting a lot of the nuance right, like handling releases concurrent to merging of PRs, is difficult

    - When the workflow is an ever-present "release PR" that you merge when ready has issues with selecting which packages to release and at what version

    I have been considering making a tool to generate changelogs from fragments. Been keeping notes at https://github.com/epage/epage.github.io/issues/23

    [0]: https://github.com/crate-ci/cargo-release

    [1]: https://github.com/MarcoIeni/release-plz/discussions/1019

  • Oxlint – written in Rust – 50-100 Times Faster than ESLint
    13 projects | news.ycombinator.com | 15 Dec 2023
    You should combine step 1 and 2 with CI. Just tag a version in your git, push to remote and have CI auto build a release for you.

    Use github actions or other setup for other backends.

    Or go nuts with cargo-release.

    https://github.com/crate-ci/cargo-release

    https://github.com/cargo-bins/release-pr

  • Rust 2030 Christmas list: Subcrate dependencies
    6 projects | /r/rust | 24 Jan 2023
    tools like cargo-release
  • `toml` vs `toml_edit` (ie `toml` 0.6 is out)
    5 projects | /r/rust | 23 Jan 2023
    Just to check, are you aware of cargo-edit's cargo-set-version or cargo-release?
  • What's everyone working on this week (45/2022)?
    9 projects | /r/rust | 7 Nov 2022
    I released my first crate that provides a derive macro to easily obtain a name of a current variant in an enum as a string. I did it mostly to learn about procedural macros and the process of releasing a crate. I then found out there is strum which does this and much more. Nonetheless, I learned a lot and I found couple of nice tools like ```cargo-release and git-cliff.
  • cargo-release v0.22 is out!
    1 project | /r/rust | 21 Oct 2022
  • A GitHub Action for creating "Release PRs" for Cargo projects.
    3 projects | /r/rust | 5 Sep 2022
    I'll note there is an issue in the cargo-release repo where this kind of workflow is wanted. https://github.com/crate-ci/cargo-release/issues/119
  • [Gitoxide December Update]: a new object database and upcoming multi-pack index support
    5 projects | /r/rust | 21 Jan 2022
    cargo-release is on about the same level of features used
  • cargo-release v0.19
    1 project | /r/rust | 7 Jan 2022
    cargo-release automates the release process for your crate. For example, with clap, all I do is add entries to the CHANGELOG and run cargo release patch and cargo-release takes care of updating files, publishing to crates.io, tagging, and pushing.
  • Introducing `cargo smart-release` - the new way to release workspace crates
    3 projects | /r/rust | 13 Aug 2021
    Yes, developers from all three tools were sharing ideas with each other recently

What are some alternatives?

When comparing cargo-ebuild and cargo-release you can also consider the following projects:

cargo-bitbake - cargo extension that can generate BitBake recipes utilizing the classes from meta-rust

Rustup - The Rust toolchain installer

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

just - 🤖 Just a command runner

cargo-make - Rust task runner and build tool.

cargo-deb - A cargo subcommand that generates Debian packages from information in Cargo.toml

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

cargo-benchcmp - A small utility to compare Rust micro-benchmarks.

cargo-modules - Visualize/analyze a Rust crate's internal structure

cargo-find