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

Suggestion: simplify 14.3 Cargo Workspaces member crate initialization #3816

Open
SichangHe opened this issue Jan 20, 2024 · 0 comments
Open

Comments

@SichangHe
Copy link

SichangHe commented Jan 20, 2024

URL to the section(s) of the book with this problem: https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html

Description of the problem: As per rust-lang/cargo#6378, new crates initialized in workspaces are automatically added into the workspaces' Cargo.toml members list. However, current instructions contain redundant actions to manually add the member crate names into the members list.

Suggested fix: Remove the redundant manual Cargo.toml editing, and instead show and explain how Cargo does that automatically for the user.

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