https://github.com/rust-adventure/merge-minecraft-litematica-csvs
A Let's Code! project that explores deserializing data from CSVs and merging them. The project is based around merging data from a Minecraft client mod called Litematica.
https://github.com/rust-adventure/merge-minecraft-litematica-csvs
lets-code
Last synced: 8 months ago
JSON representation
A Let's Code! project that explores deserializing data from CSVs and merging them. The project is based around merging data from a Minecraft client mod called Litematica.
- Host: GitHub
- URL: https://github.com/rust-adventure/merge-minecraft-litematica-csvs
- Owner: rust-adventure
- Created: 2021-08-19T13:26:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-19T19:09:11.000Z (almost 5 years ago)
- Last Synced: 2025-02-15T23:42:26.915Z (over 1 year ago)
- Topics: lets-code
- Language: Rust
- Homepage: https://youtu.be/wxCFN-slP38
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# merge-minecraft-litematica-csvs
A Let's Code! project that explores deserializing data from CSVs and merging them. The project is based around merging data from a Minecraft client mod called Litematica.
Follow along as we deserialize structs from CSV files and merge them in Rust. We take advantage of serde and the csv crate and dive into the Entry API and interesting applications of collect().
* Video: https://youtu.be/wxCFN-slP38
## Crates used in this project:
* serde: https://docs.rs/serde/1.0.127/serde/
* csv: https://crates.io/crates/csv
## Chapters
00:00:00 Intro to what we're working on
00:01:19 Starting the project
00:08:35 Suggestions for googling errors
00:11:45 collecting a Vec of Results into a Result of Vecs
00:19:13 The Entry API applied to HashMaps
00:23:28 Recap
00:28:58 Thoughts on future refactoring