killercup / killercup/cargo-edit

Slow performance (dummy mode)

Open
#890 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.5k
Forks
166
PR merge metrics
No merged PRs in 30d

Description

It is slow. Is there a way to edit `Cargo.toml` only without any checks?

I need to set exact versions of several dependencies in a set of projects and bump their versions. I wrote a simple script that goes over my directories. And it takes too much time to just update each `Cargo.toml` file with cargo-edit. I suppose there are some checks being performed under the hood while just editing the toml file.

I would like to just edit `Cargo.toml` as is and as fast as possible, then I run `cargo clippy` manually.

Is it possible to run cargo-edit with some kind of fast dummy mode?

Contributor guide

Open the contributing guide

Research direction

The issue names cargo-edit and Cargo.toml but no source file or test. Start by tracing the command path that edits Cargo.toml and identify which checks make batch updates slow; done means an explicit fast or dummy mode can update exact dependency versions without those checks, with coverage for the requested workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.