#application #data #storage #location #directory


Put your app’s data in the right place on every platform – maintained fork

5 stable releases

2.0.4 Sep 20, 2019
2.0.3 Mar 27, 2018
2.0.2 Mar 22, 2018
2.0.1 Mar 21, 2018

#18 in Filesystem

Download history 519/week @ 2019-12-01 358/week @ 2019-12-08 304/week @ 2019-12-15 471/week @ 2019-12-22 356/week @ 2019-12-29 189/week @ 2020-01-05 331/week @ 2020-01-12 257/week @ 2020-01-19 321/week @ 2020-01-26 304/week @ 2020-02-02 321/week @ 2020-02-09 271/week @ 2020-02-16 479/week @ 2020-02-23 468/week @ 2020-03-01 387/week @ 2020-03-08 428/week @ 2020-03-15

2,199 downloads per month
Used in 10 crates (5 directly)

MIT license

372 lines


Put your app's data in the right place on every platform


This is a fork!

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. This is a community-maintained project. If you want to help maintain it, open an issue. Maintainers are expected to be polite, responsive and generally sane; the priority is to keep vital infrastructure working, so there's no one-person bottleneck for this project again.

An alternative might be the directories crate, but when we have existing code that relies on this, forking app_dirs is easier than porting.

Documentation & examples



Add the following to your Cargo.toml under [dependencies]:

app_dirs2 = "2"