Put your app's data in the right place on every platform
The original app_dirs crate appears essentially unmaintained by now, so I have made this fork with the intent of making sure that it is at least maintained and that bugs stay fixed so we can have something to rely on. I don't intend to do any major rearchitecting or updating, but bugs will get fixed and builds will succeed.
If you want to help maintain this, open an issue or such and we can work something out.
An alternative might be the directories crate,
but when we have existing code that relies on this, forking app_dirs
is easier than porting.
If you like it, feel free to drop a tip my the jar on Patreon or Liberapay.
https://docs.rs/app_dirs2
Add the following to your Cargo.toml
under [dependencies]
:
toml
app_dirs2 = "2"