-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add a chapter on Cargo #949
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great start!
Where do you want to go from here?
@steveklabnik Thanks :) I guess the biggest question is what should we include in the cargo chapter?
I'm not sure to what extent anyone learning Rust would need to know about any of these, though. The risk is that we overwhelm beginners with details that aren't that useful to learning the language itself. Also, I have almost no experience or knowledge of any of them, so I am not sure how qualified I am write about them. What do you think? |
ping @steveklabnik @jbiason @mquandalle @neglectedvalue @arthurprs Thanks in advance :) |
I'm not going to be able to give you a good reply to the broader question for a few days; I'm travelling at the moment. What we have here looks great though :) |
I'm back!
RBE is mostly about learning the language, so
We should be targeting consumers, and then saying "hey if you want to make a crate, it's easy! go check out the cargo book."
No, we cover stable only.
Yup, absolutely! So in my mind, it should cover the basics. I'm just going to list stuff out from memory without re-reading your PR:
thoughts?
I'm happy to take even just the start of things, and we can make issues for the others! |
@steveklabnik Thanks for the response! You pointed out a lot of gaps in my chapter so far, which I will start filling in :)
Could you elaborate on what you mean by this?
Yeah, I think that would be good. It might also be nice to have a tracking issue with some sort of checklist. I think I can get most of the points you listed in this PR, but there are a few I still don't know much about (e.g. workspaces, profiles, -sys crates, override/patch/replace). Thanks again 👍 |
yeah like basically this stuff: http://doc.crates.io/book/guide/project-layout.html (this is the upcoming re-organization of cargo's docs into mdbook format) |
Oh, got it :) Just a heads up: Things have gotten rather busy for me lately, so I might be a bit slow on this... |
Hi @steveklabnik! I'm back. I think I have covered a coherent subset of the things you listed. I also created a tracking issue for the rest in #978 . I think this initial portion is ready for a final review before merge. Let me know what you think. Merry Christmas ⭐ |
@steveklabnik ping :) |
Sorry for taking so long, this is great, thank you :) |
Fix #215