cargo-edit
cargo-edit copied to clipboard
A utility for managing cargo dependencies from the command line.
A scratchpad like #568 Ordered list: - [x] Update CLI flags to match the merged `cargo-add` - [x] Add `--target` support (#711) - [x] Dry-run support - [x] First letter...
A scratchpad for https://github.com/rust-lang/cargo/issues/12425 Merge plan - [ ] Resolve #737 - [ ] Resolve #751 - [ ] Create `merge-upgrade` branch - [ ] Refactor to match cargo's directory...
If using a custom registry that has a port specified the `cargo-upgrade upgrade` command will fail due to attempting to create a directory with a ':' in the name. It...
It would be useful in CI / automated publishing scenarios to have `cargo set-version ...` optionally (e.g. with a flag) able to bump the version in Cargo.lock. Currently we're relying...
[Workspace inheritance](https://github.com/rust-lang/cargo/issues/8415) was [stabilized](https://github.com/rust-lang/cargo/pull/10859) recently and set to be released in Rust version `1.64` on [September 22, 2022](https://forge.rust-lang.org/#current-release-versions). `cargo-upgrade` currently does not update dependencies in the `[workspace.dependencies]` table. Support for...
[Workspace inheritance](https://github.com/rust-lang/cargo/issues/8415) was [stabilized](https://github.com/rust-lang/cargo/pull/10859) recently and set to be released in Rust version `1.64` on [September 22, 2022](https://forge.rust-lang.org/#current-release-versions). `cargo-set-version` currently does not allow setting the `version` in the `[workspace.package]` table....
I'm looking to use cargo-edit in some internal automation tooling to bump versions, cut releases, etc. For that kind of workflow, a `cargo install` is a bit more awkward than...
Normally, cargo commands have the following flags to control which packages are selected - `--workspace` to select all workspace members - `--pkgid` to select specific packages in a workspace -...
I would like to add a `cargo tidy` command. The purpose is to format Cargo.toml. For the kind of things I'd like to implement, see the [PingCAP style guide](https://github.com/pingcap/style-guide/blob/master/docs/rust/modules.md#cargotoml). I...
The proposal is to allow cargo-edit to manage this Cargo feature: https://rust-lang-nursery.github.io/edition-guide/rust-2018/cargo-and-crates-io/replacing-dependencies-with-patch.html The command `cargo add-patch frob --path=~/frob` would add a line to a `patch` section in `Cargo.toml`: ``` [patch.crates-io]...