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

Use cargo add when using external crates #3910

Open
carols10cents opened this issue Apr 30, 2024 · 2 comments
Open

Use cargo add when using external crates #3910

carols10cents opened this issue Apr 30, 2024 · 2 comments

Comments

@carols10cents
Copy link
Member

Maybe giving a copy-pasteable cargo add rand@version command would prevent issues we've seen in the past when a newer version of rand is available with breaking changes, and people install the latest version instead of the version in the book?

Anyway, cargo add is nice and we should show it off now that it's stable!

@chriskrycho
Copy link
Contributor

Relevant: #3331.

@carols10cents
Copy link
Member Author

AHA nice! I thought I remembered something but thought it was an issue. I should have searched PRs too. Thank you!

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

No branches or pull requests

2 participants