cargo-edit
cargo-edit copied to clipboard
A utility for managing cargo dependencies from the command line.
I'm currently packaging cargo upgrade and bumped into "[Invalid cargo config](https://github.com/killercup/cargo-edit/blob/master/src/errors.rs#L81)" error during running tests. And it created like ton of questions: What is this even supposed to mean? Like...
## What am I trying to achieve? As part of deployment, I want to create a release candidate that is not necessarily a patch release, for example, going from `1.2.3`...
The `cargo set-command` currently supports bumping pre-releases but is limited to specific values (rc, beta, alpha). However, the SemVer specification does not restrict pre-release identifiers to these specific values. When...
`cargo-edit` version: 0.13.0 `cargo` version: 1.82.0 When running `cargo upgrade --incompatible` with https://github.com/NixOS/rfc39/tree/ab3b4ac953d011d2fae04c252718dc81727a5a5d (and the `patch` section removed from the `Cargo.toml`), the following error occurs: ``` Checking rfc39's dependencies name...
TL;DR: Is upgrading `package.rust-version` within the scope of this project? As a beginner in rust I like enabling lints to get used to idioms and avoid anti-patterns. Recently while working...
I'm using `cargo-edit` (0.13.0) as a library in one of my projects in addition to `cargo_toml` (0.21.0). Since `cargo-edit` depends on "old" versions of some crates (`toml` 0.7.6 and `toml_edit`...
First things first, this is a great tool!! My version is: ```sh ❯ cargo upgrade --version cargo-edit-upgrade 0.13.8 ``` Just having issues with the `cargo upgrade` command in a repository...
When you run `cargo set-version --bump minor -p foo` in a workspace that has crates "foo" and "bar", and "bar" has a dependency of "foo", the Cargo.toml for "bar" will...
```bash [zack@laptop ~]$ cargo install cargo-edit --no-default-features ⋮ error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clap` --> /home/zack/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cargo-edit-0.13.7/src/errors.rs:55:11 | 55 | impl From for CliError {...
When running `cargo --list` the `cargo upgrade` and `cargo set-version` commands do not have any description. See screenshot: I suggest adding a description. Thanks for making this program it's cool...