Skip to content

Latest commit

 

History

History
executable file
·
32 lines (30 loc) · 706 Bytes

File metadata and controls

executable file
·
32 lines (30 loc) · 706 Bytes

examples.rs

Code Examples for Beginner Rust Developers.

Running Example Projects Locally

  • Install cargo
    • With rustup:
      curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Change directory to example project:
    cd example_project/
  • Run code:
    cargo run
    

Building Example Projects Locally

  • Install cargo
    • With rustup:
      curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Change directory to example project:
    cd example_project/
  • Run code:
    cargo build