killercup / cargo-edit

A utility for managing cargo dependencies from the command line.
http://killercup.github.io/cargo-edit/
MIT License
3.01k stars 144 forks source link

Slow performance (dummy mode) #890

Open Aunmag opened 3 months ago

Aunmag commented 3 months ago

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?

smoelius commented 3 months ago

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

Could you use toml_edit?

Aunmag commented 3 months ago

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