cargo-deb
cargo-ebuild
Our great sponsors
cargo-deb | cargo-ebuild | |
---|---|---|
7 | 6 | |
629 | 79 | |
- | - | |
1.1 | 0.9 | |
over 2 years ago | over 2 years ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 or later |
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-deb
-
GitUI
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?
I use Cargo deb to create Debian / Ubuntu / ... package files.
-
Introducing runst: A dead simple notification daemon written in Rust
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?
-
Have you guys tried cargo-deb? Amazing!
https://crates.io/crates/cargo-deb https://github.com/kornelski/cargo-deb
-
Rustup, Cargo, Rustc??
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
Cargo already has one: https://crates.io/crates/cargo-deb
cargo-ebuild
-
diziet | Debian’s approach to Rust
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?
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
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?
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
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?
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.
What are some alternatives?
cargo-update - A cargo subcommand for checking and applying updates to installed executables
cargo-bitbake - cargo extension that can generate BitBake recipes utilizing the classes from meta-rust
cargo-make - Rust task runner and build tool.
cargo-release - Cargo subcommand `release`: everything about releasing a rust crate.
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
Rustup - The Rust toolchain installer
rustfmt - Format Rust code
cargo-benchcmp - A small utility to compare Rust micro-benchmarks.
clog-cli - Generate beautiful changelogs from your Git commit history
cargo-modules - Visualize/analyze a Rust crate's internal structure