Skip to content

Set of basic programs following the Rust Book (2nd edition)

Notifications You must be signed in to change notification settings

tomcentrate/rust_book_notes

Repository files navigation

Working through the Rustbook

Just working through all the examples from the Rustlang book. Also contains notes and all that to make it easier to review later...

Compiling and Running

  • To compile a plain .rs file, you can use rustc. This acts very similar to gcc, so you can type rustc main.rs

Cargo

Cargo is the package manager. You can use the following commands:

  • cargo build - build a development version
  • cargo build --release - build release version
  • cargo run - build and run
  • cargo new <app_name> -- bin - create a new binary (project)
  • cargo doc --open - search and open up the documentation

About

Set of basic programs following the Rust Book (2nd edition)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages