Skip to content
/ rusty Public

A collection of code snippets from my journey into Rust.

License

Notifications You must be signed in to change notification settings

sav/rusty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusty

This repository contains a collection of Rust code snippets inspired by The Rust Programming Language book and a few other references (see below). The primary purpose of this repository is to serve as a personal reference, helping me remember important concepts and techniques from these sources. The code might be a bit messy, and you'll eventually find some commented-out sections that serve as a reminder of how not to do things. But fear not! It could still be helpful for you to take a look at it, especially if you are short on time and won't go through the entire book yourself.

There's an alternative version of the "Rust Programming Language" book with interactive quizzes available here.

What's Inside?

  • Snippets: You'll discover concise code snippets that demonstrate specific Rust features, syntax, or idioms.
  • Examples: Small, self-contained programs that showcase how to solve common problems using Rust.
  • Comments: Some sections may have comments explaining why certain approaches were chosen or why specific code blocks exist.

Building

cargo build

Running

cargo run --bin
cargo run --bin rusty
cargo run --bin minigrep

Testing

cargo test

Examples

cargo run --example
cargo run --example <example>

Documentation

cargo doc
cargo doc open

Development

cargo check
cargo lint 
cargo fix

Releases

No releases published

Packages

No packages published

Languages