cargo-edit icon indicating copy to clipboard operation
cargo-edit copied to clipboard

Slow performance (dummy mode)

Open Aunmag opened this issue 1 year ago • 2 comments

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?

Aunmag avatar Mar 15 '24 03:03 Aunmag

I would like to just edit Cargo.toml as is and as fast as possible,

Could you use toml_edit?

smoelius avatar Mar 15 '24 09:03 smoelius

smoelius I'll try, but will have to find and modify dependencies and versions manually

Aunmag avatar Mar 15 '24 09:03 Aunmag