Welcome to my Rust learning repository! This is a personal knowledge base and code collection created while learning the Rust programming language.
This repo includes various folders and files exploring Rust topics through hands-on examples, exercises, and mini-projects.
ownership_andborrowing/– Ownership, borrowing, lifetimesgenerics/,genrics_part_2/– Generics in Rusttraits_bound/– Trait bounds and genericspatternmatching/– Match patternsconstants/,datatypes/,operators/– Basic syntax & language features
function/– Writing functionslearn_macro_expend/– Understanding macros
Strukkkkstruct/,implementing_structs/– Working with structsenums/,enumszzz/– Enums & use-cases
fs/– File system usagestring_My-Love/,slicing/– String handling
learn_serde/,harkirat_serde_assignment/– Working with Serde (serialization)learn_borsh/– Learning Borsh serializationlearn_chrono/– Usingchronocrate for time/date
binarysearch/,linearsearch/,reverseString/,countvowels/– Algorithm implementationscalculator/,GuessingGame/– Small CLI projects
harkirat_challenges_func/,harkirat_challenge_enums/harkirat_singh_challenge_self/,harkirat_string_challenge/code-eater-challenges/
- ✅ Understand Rust ownership and lifetimes
- ✅ Practice with pattern matching, traits, and enums
- ✅ Build mini CLI projects and challenges
- ✅ Use external crates like
serde,borsh, andchrono
- Language: Rust
- Tooling:
cargo,rustc,rustfmt,clippy
I’m currently learning Rust to deepen my systems programming and memory management knowledge. This repo is a daily log of what I’ve been experimenting with. Feedback or contributions welcome!