How i'm learning Rust

70 points aptacode

I wanted to share with you how I've been learning Rust, I tried a year ago and built a simple ray tracer but I found that project was really just me learning how ray tracing works and I don't feel like I really learnt that much actual rust.

This time round I had a different idea, I wanted to give myself exposure to a wide range of crates built in functions and language features, I also wanted to keep my learning sessions short so huge projects were out.

I settled on building a collection of CLI utility functions that I plan on using in my day job, things I understand well (enough) are very small in scope and actually genuinely useful for me, of course it's not super practical since the standard tools out there do a much better job then what I've produced, but it's sufficient and using something you've built yourself is a great motivating factor. The other nice bit about this is that I'll have an endless amount of features I can add to it whenever I've got the time to learn about something new.

Already it's touched networking, http requests, files, regex, parsing, and loads more.

If you're looking for inspiration have a look at the feature list. I highly recommend building your own toolkit if your new to rust like me and stuck trying to find a project to start.

Additionally, if anyone has feedback i'd love to hear it since I'm still very early in my rust journey

https://github.com/Timmoth/aid-cli