Feedback on `cargo-info` to prepare it for merging

Reminder I am working on merging the cargo-info subcommand into Cargo. There are a few points that need to be addressed before merging. I would like to get feedback on these points. You can find the key points of concern at the end of this post. Background This adds a new subcommand to Cargo, cargo info. This subcommand would allow users to get information about a crate from the command line, without having to go to the web....

February 1, 2024 · 5 min · Rustin liu

How to use trycmd to test your Rust CLI?

Recently we released Rustup 1.26.0, which includes a bunch of new features and bug fixes. We also upgraded the clap version to 3.2.25, which is a major version upgrade. This upgrade was a bit tricky, because clap 3.0.0 had a lot of breaking changes. We needed to make sure that the new version of Rustup worked as expected. So before we upgraded clap we added UI tests for Rustup. We use trycmd to test the CLI of Rustup....

July 3, 2023 · 10 min · Rustin liu