Skip to content

Rust - Notes

Overview

This is a "Hello World" resource for Rust.

Requirements & Prerequisites

Please refer to the official Rust repo.

Installation & Setup

Please refer to the official Rust repo.

TL;DR:

  • Install prerequisites
  • Install MS Visual Code if you're working on Windows
  • install rust-analyzer extension available on VS Code
  • Install rust version according to your OS platform
  • Configure Cargo (the rust packages management) to run your project

You're ready to go!

Usage

To compile the source(s) file(s) :

cargo build

To run the code :

cargo run

Contributing

Please refer to this CONTRIBUTING.md.

[!TIP] "Keep up your bright swords, for the dew will rust them." - William Shakespeare