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

Running cargo add should generate a lockfile #781

Closed
kpcyrd opened this issue Sep 4, 2022 · 1 comment
Closed

Running cargo add should generate a lockfile #781

kpcyrd opened this issue Sep 4, 2022 · 1 comment

Comments

@kpcyrd
Copy link
Contributor

kpcyrd commented Sep 4, 2022

Steps to reproduce:

cargo new foo
cd foo
cargo add anyhow
# no lockfile exists
stat Cargo.lock

cargo check
# lockfile now exists
stat Cargo.lock
@epage
Copy link
Collaborator

epage commented Sep 5, 2022

cargo-add is no longer maintained in this repo but in the cargo repo.

This has also been fixed in cargo, see rust-lang/cargo#10902

@epage epage closed this as completed Sep 5, 2022
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