#application #data #storage #location #directory

app_dirs2

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

15 stable releases

2.5.4 Sep 20, 2022
2.5.2 Jun 25, 2022
2.4.0 Feb 15, 2022
2.3.3 Nov 14, 2021
2.0.3 Mar 27, 2018

#53 in Operating systems

Download history 1613/week @ 2022-10-18 2581/week @ 2022-10-25 2574/week @ 2022-11-01 2276/week @ 2022-11-08 2198/week @ 2022-11-15 1676/week @ 2022-11-22 1789/week @ 2022-11-29 1860/week @ 2022-12-06 1757/week @ 2022-12-13 1430/week @ 2022-12-20 1354/week @ 2022-12-27 1660/week @ 2023-01-03 2335/week @ 2023-01-10 1781/week @ 2023-01-17 2566/week @ 2023-01-24 2209/week @ 2023-01-31

9,207 downloads per month
Used in 46 crates (14 directly)

MIT license

26KB
398 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 deprecated and unmaintained. This is a drop-in-replacement 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.5" }

The syntax with package allows you to keep the old name in the code (use app_dirs::*), so you only need to change one line in Cargo.toml.

Dependencies

~0–380KB