cargo-deb
cargo-sweep
cargo-deb | cargo-sweep | |
---|---|---|
7 | 9 | |
629 | 673 | |
- | - | |
1.1 | 6.6 | |
over 2 years ago | about 1 month ago | |
Rust | Rust | |
MIT License | MIT License |
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-sweep
-
Target file are very huge and running out of storage on mac.
You can use cargo sweep or kondo to clean up unused files.
-
What are some useful tools for Rust?
cargo-sweep
-
crates.io now has more than 100,000 crates!
[1]: https://github.com/holmgr/cargo-sweep
-
Cargo Clean All - A cargo plugin to clean all your projects at once with filters
I use https://github.com/holmgr/cargo-sweep which can keep files from the current compiler version, but delete files from earlier compilers that won't ever be used again.
-
Announcing cargo-cleanall
How is this different from https://github.com/holmgr/cargo-sweep ?
-
Is this normal? Giant debug folder
I like https://github.com/holmgr/cargo-sweep to keep the size of /target from unbounded growth without fully losing the useful portion of the cache. It's the same outcome as Cargo clean after a reboot but I recently also started using a ramdisk with CARGO_TARGET_DIR. Much easier to do on Linux.
- Cargo clean for a number of projects
-
Blog Post: Fast Rust Builds
cargo-sweep can do this kind of garbage collection along a few axes - rustc version, file age, was or wasn't used during recent build. Works great on Linux. I've not gotten it working reliably for -s/-f on MacOS+APFS, but for the CI use case it should be a nice improvement.
-
STOP DOING RUST
holmgr is a god and cargo-sweep is a godsend
What are some alternatives?
cargo-update - A cargo subcommand for checking and applying updates to installed executables
cargo-chef - A cargo-subcommand to speed up Rust Docker builds using Docker layer caching.
cargo-ebuild - cargo extension that can generate ebuilds using the in-tree eclasses
rules_rust - Rust rules for Bazel
cargo-make - Rust task runner and build tool.
cargo-clean-all
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
kondo - Cleans dependencies and build artifacts from your projects.
Rustup - The Rust toolchain installer
squatternaut - A snapshot of name squatting on crates.io
rustfmt - Format Rust code
cargo-hack - Cargo subcommand to provide various options useful for testing and continuous integration.