Skip to content

Instantly share code, notes, and snippets.

@yellow5
Created May 17, 2016 17:28
Show Gist options
  • Save yellow5/4cd91b4a9db2ff32271476068e5de82e to your computer and use it in GitHub Desktop.
Save yellow5/4cd91b4a9db2ff32271476068e5de82e to your computer and use it in GitHub Desktop.

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 and Cargo.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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment