ChawinTan / rust_projects

Rust learning projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust programming language

A short note on some of the key concepts of rust.

Basics

File names with more than one word should be separated by an underscore.

main function is the first code that runs in every executable rust program.

To compile, run rustc file_name.rs and then ./file_name to execute.

Cargo basics

https://doc.rust-lang.org/book/ch01-03-hello-cargo.html

Create new project with cargo new project_name

Build with cargo build. To build and run, cargo run.

cargo check for fast checking

About

Rust learning projects


Languages

Language:Makefile 86.8%Language:Rust 13.2%