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

Cargo guide #21

Merged
merged 7 commits into from Aug 7, 2014
Merged

Cargo guide #21

merged 7 commits into from Aug 7, 2014

Conversation

steveklabnik
Copy link
Contributor

I don't know how to override dependencies with cargo config, so I didn't write that out yet.

* Source code goes in the `src` directory.
* External tests go in the `tests` directory.
* The default executable file is `src/main.rs`.
* The defualt library file is `src/lib.rs`.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Also, worth mentioning that binaries can be placed in src/bin/<name>.rs?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

wycats added a commit that referenced this pull request Aug 7, 2014
@wycats wycats merged commit ba81ecf into wycats:master Aug 7, 2014
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

Successfully merging this pull request may close these issues.

None yet

4 participants