What's everyone working on this week (38/2022)?

I'm still beginner, my experience with Rust is ~2.5 months of learning in free time. I've been trying to make a OpenStreetMap XML processor, to modify map data and get roads graph. But OSM PBF format turned out to be very complicated. So I chose to go for OSM XML format (gzipped or bzipped), first reader/parser, then writer.

5 days of fighting with xml-rs and quick-xml, and I got it to read the data and convert it into meaningful objects.

In the process, with help of forum users, learned the difference between trait objects and generic types tried to copy nested objects, which turned out impossible, learned how to wrap a File struct into another one that has progress bar, and got a better understanding of Box. Also learned that match <expr> can take ownership.

Things are slightly getting easier.

2 Likes