/learn-rs

Learning Rust: resources, tools and code samples

Primary LanguageRustMIT LicenseMIT

Getting started with Rust

ferris-learner

Resources, tools, and code samples for learning Rust Programming Language

Books

Courses & Workshops

  • Comprehensive Rust - This is a free Rust course developed by the Android team at Google. The course covers the full spectrum of Rust, from basic syntax to advanced topics like generics and error handling.
  • Learn to write Rust procedural macros - Rust Latam conference, Montevideo Uruguay, March 2019.

Other resources

Concurrency

Benchmarking

Tools

Visual Studio Code - Debugging

Also, try dbg!

dbg!(..);

Usage details and examples: std::dbg

Visual Studio Code - DEBUG CONSOLE (lldb)

>help
>v
>print a
>p &a
>x &a
>x 0x00555555597036
>x -c 256 0x00555555597036
>q

Code Coverage

Setting-up and using the cargo-llvm-cov based code coverage

$cargo +stable install cargo-llvm-cov --locked
$cargo llvm-cov
$cargo llvm-cov --html
$cargo llvm-cov --open 

Clippy

  • Clippy - A collection of lints to catch common mistakes and improve your Rust code

List of code samples built for learning purposes