This is currently just a basic library to help parsing the binary data pulled by CDragon. In future I will be looking to expand this out a bit.
I'm a rust newbie and this is my starter learning project after finishing Rustlings. Hopefully it will help me achieve ~~world domination, full oxidation~~ some reasonable fluency in Rust and help others along the way with anything League of Legends related like maybe a calculator site or smthn idk.
```rust // You should be handling these errors, or not I'm not your Dad let champdir = ChampDir::fromcdragon().await?;
let bestchampinthegame = champdir.getby_key(516).unwrap();
println!("{}", bestchampinthegame.name);
Output: Ornn
```
I will probably maybe potentially add proper docs in the future but while it's so shrimple I think I can get away with just some example code.
Current version repo: https://github.com/SneedSeedFeed/league-of-crates/tree/0.2.0-rework
Todo: - Let everything be loaded from local files a bit easier - Allow pulling from a specific version - Proper docs
0.3.3 - Pinned Serde version to 1.0.171, because of the precompiled binaries fiasco. Won't matter most likely.
0.3.2 - Derived Clone and PartialEq because I forgor that rust won't allow you to do that if you use this crate
0.3.1 - Updated readme
0.3.0
0.2.0
0.1.1 - Added readme