Skip to content

Crate page could show what to write in your Cargo.toml #126

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

Closed
brson opened this issue Feb 2, 2015 · 2 comments
Closed

Crate page could show what to write in your Cargo.toml #126

brson opened this issue Feb 2, 2015 · 2 comments
Labels
C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Comments

@brson
Copy link
Contributor

brson commented Feb 2, 2015

As a newbie I searched for 'libc' on crates.io, but after I found it I still didn't know how to add it as a dependency. The instructions are easy enough that this page could just tell you what to write.

@brson brson added the C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works label Feb 2, 2015
@brson
Copy link
Contributor Author

brson commented Feb 2, 2015

It does already basically say what to write, but not that it goes in a '[dependencies]' section, that didn't exist in my Cargo.toml.

@carols10cents
Copy link
Member

Since cargo new now adds a [dependencies] section to Cargo.toml, I think this can be closed. Please reopen if you feel this isn't the case! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

No branches or pull requests

2 participants