#application #data #storage #location #directory

app_dirs2

Put your app’s data in the right place on every platform. Community-maintained project.

11 stable releases

2.3.2 Mar 5, 2021
2.3.1 Nov 18, 2020
2.3.0 Aug 6, 2020
2.2.1 Jul 9, 2020
2.0.3 Mar 27, 2018

#24 in Filesystem

Download history 833/week @ 2021-04-03 1067/week @ 2021-04-10 917/week @ 2021-04-17 1110/week @ 2021-04-24 797/week @ 2021-05-01 1398/week @ 2021-05-08 767/week @ 2021-05-15 954/week @ 2021-05-22 1018/week @ 2021-05-29 1680/week @ 2021-06-05 1711/week @ 2021-06-12 1305/week @ 2021-06-19 982/week @ 2021-06-26 1137/week @ 2021-07-03 1082/week @ 2021-07-10 767/week @ 2021-07-17

4,351 downloads per month
Used in 31 crates (11 directly)

MIT license

25KB
372 lines

app_dirs2

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

crates.io:app_dirs2

This is the up-to-date version of app_dirs

The original app_dirs crate is unmaintained and has seriously outdated dependencies. This is an fork that keeps the crate working and up-to-date.

This is a community-maintained project, so if you find a bug or the crate is missing support for your platform, please help out.

There are no major changes planned. If you're looking for a crate with more features, check out the directories crate.

Documentation & examples

https://docs.rs/app_dirs2

Installation

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

app_dirs = { package = "app_dirs2", version = "2" }

The syntax with package allows you to keep the old name in the code (use app_dirs::*), so that it's a drop-in replacement.

Dependencies

~0–1MB
~24K SLoC