Devpack for Rust: Zero to Rust in seconds
Key points
Canonical has announced Devpack for Rust, the next entry in its devpack series. It is a snap that sets up a Rust working environment in one step: a Rust version managed through Rustup, an IDE, and a selection of Rust command-line tools. It runs anywhere snap does.
What it installs
- Rustup, with the Rust version you choose.
- An IDE.
- Your pick from a curated list of command-line utilities written in Rust. The post names
ripgrep(recursive search by file contents),fd(recursive search by file name) andjust(a command runner Canonical uses internally in place ofmakefor complicated recipes).
How to install
sudo snap install devpack-for-rust --classic- The installer shows a tree of options: move with the arrow keys (or HJKL) and select with space or enter.
- It then installs Rustup and uses it to compile many of the chosen tools; some come directly from the Snap Store.
Who it is for
- Beginners get a curated starting set instead of having to pick an IDE and tooling from a very large ecosystem.
- Experienced Rust users may find tools they had not come across.
Contributing
- The project is open source at github.com/canonical/devpack-for-rust, and Canonical invites issues and pull requests proposing more tools.
Summary by DistroNews, based on the original post.
One of the best things about Rust is how easy it is to get started. It takes just a second to snap install rustup; rustup default stable, and from there you have a whole toolchain ready to compile Rust code. But with this ease of use comes a giant ecosystem, and with this giant ecosystem […]
This is the summary Ubuntu Blog published with the story. The full text is on the original page.
Read the original at ubuntu.com