Skip to content

jamesjarvis/learning-rust

Repository files navigation

📚 CO663 Class - Learning Rust

@ University of Kent

CO663 Class - Learning Rust

Outline

This is all based on the tutorials from https://doc.rust-lang.org/stable/rust-by-example/

RUN LOCALLY

Installation

First, you're gonna need Rust installed.

Follow the instructions here

Or if you are on MacOS like I was, just run:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Run files

Once you have the cli tools installed, compiling and running rust files is as easy as:

rustc hello-world.rs
./hello-world

Or, for the other projects with multiple files, it's just easier to use cargo. E.G.: for "guessing-game", run the following:

cd guessing-game
cargo run

About

Rust exercises for CO663 @UniversityOfKent

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages