The guide is very informative and left me with very few questions!
Highlights:
- Excellent job showing what happens with
cargo build
execution. - Same for
cargo run
and inclusion of the--release
flag. - Good descriptions of the purpose and concerns of the
Cargo.toml
andCargo.lock
files. - Noted when to include
Cargo.lock
in the repo: yes for apps, no for libs (similar to Gemfile.lock in Ruby apps/gems).
Maybe helpfuls:
- Touching on the purpose of the package version number in
Cargo.toml
(semver convention, app/lib release management) - Mentioning how the different binaries (debug, release) tend to be used
Needs:
- N/A, good guide for me!
Thanks for your work on this. I noticed your call for n00b reviews a few days ago, and stumbled in to my intro to rust from some morning reading [1].
Thanks for your work, and count me as another developer interested in rust!
[1] http://designisrefactoring.com/2016/04/01/rust-via-its-core-values/