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

A bit more about cargo and crates.io #306

Open
bugadani opened this issue Aug 13, 2020 · 1 comment
Open

A bit more about cargo and crates.io #306

bugadani opened this issue Aug 13, 2020 · 1 comment

Comments

@bugadani
Copy link
Contributor

Chapter 9 begins with mentioning sharing our code with others. The chapter also mentions crates.io, without anything about how to use other crates or cargo in general, also how to publish crates.

While this book is specifically about Rust and not necessarily about the wider ecosystem, I think it would be nice to at least include some pointers to these things.

@Zerotask
Copy link
Contributor

Zerotask commented May 9, 2021

@bugadani I totally agree with you. You basically always start a Rust project with either cargo init or cargo new <project_name> and then you use commands like cargo run or cargo build.

There is also an option to install additional cargo subcommands (cargo binaries) to improve your developer experience even further. I'd say cargo should be an own chapter.

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