Skip to content

Exploring Rust Programming Concepts Through Daily Hands-On Examples: Follow my journey of learning Rust by implementing concepts from the Rust Programming Book in the 'rust-conceptual' public repository.

License

Notifications You must be signed in to change notification settings

skariyania/rust-conceptual

Repository files navigation

Rust Conceptual

Environment Setup

Rust

  1. Install Rust from https://rustup.rs/

IDE

  1. Install Open Source VS Code from https://vscodium.com/ OR
  2. Rust Rover from Jet Brains from https://www.jetbrains.com/rust/ OR
  3. PRO Developers's choice https://neovim.io/

Kick-starter cargo commands

  1. Create new cargo project
cargo new <project_name>
  1. Build project
cargo build
  1. Run test cases
$ cargo test
  1. Run program natively
$ cargo run

Setup troubleshooter

Build Error. Related: RocksDB

1) Error
  $ failed to run custom build command for 'librocksdb-sys v0.16.0+8.10.0'
  
  Resolution
  $ sudo apt install clang

Rust Learning

learning rust by reading rust programming book and implementing concepts everyday

  • Contains small practical and working examples.

  • I have started reorganizing project structure to recommended standards, however it may take some time to complete.

  • I will be also updating all the other links, tools that I have used in upcoming week

More about this repository

  • I started this project with tutorials directory, those are very first rust programs I wrote.
  • Later on while learning, I found better way to organize cargo. Hence other part of the repo is in workspace and it contains well organized source.
  • project requires refactoring tutorials directory, yet pending. I will complete it eventually.
  • Workspace directory includes small working examples
  • book directory is also having small projects created earlier, this will be moved inside workspace in next week.
  • This repo is also a good example of how to organize project structure in any rust repo using cargo.
  • most of the exercises and tutorials in this repository is prepared by learning rust programming language book available here. I highly recommend this reading. It was worth investing time in learning rust with this book.
  • I thought It would be good idea to share my version of summary highlights, refer this link to quickly summarize.
  • I am yet exploring easy ways to extract highlights from PDF to md or text format, for your ease of reading.

Crates.io

  • Crates.io is official rust package registry.
  • similar to npm for node.js, pypi for python and packages for golang
  • When I was learning rust, I have created and published working crate. check my crates. you will also learn how to create and publish your crate during course of reading the book

Reach out to me for any feedback, I appreciate. Happy Learning

About

Exploring Rust Programming Concepts Through Daily Hands-On Examples: Follow my journey of learning Rust by implementing concepts from the Rust Programming Book in the 'rust-conceptual' public repository.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages