Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow performance (dummy mode) #890

Open
Aunmag opened this issue Mar 15, 2024 · 2 comments
Open

Slow performance (dummy mode) #890

Aunmag opened this issue Mar 15, 2024 · 2 comments

Comments

@Aunmag
Copy link

Aunmag commented Mar 15, 2024

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
Copy link
Contributor

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

Could you use toml_edit?

@Aunmag
Copy link
Author

Aunmag commented Mar 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants