1 unstable release
0.1.0 | Jul 3, 2020 |
---|
#11 in #locator
6KB
101 lines
MTGA Resources Locator
Utility that returns where MTGA data is stored.
Disclaimer: this project started as a way to learn Rust, so this IS full of bugs and anit-patterns and stupid code.
The library exposes two functions:
assets_data_dir()
: returns thePathBuf
relative to the folder where MTGA JSON files are stored;logs_dir()
: returns thePathBuf
relative to the folder where logs are stored.
The method should work on both Windows and macOS. Actually only macOS has been tested.
TODO
- Conform to the Rust API Guidelines
Dependencies
~58–540KB