Crates.io | app_dirs2 |
lib.rs | app_dirs2 |
version | 2.5.5 |
source | src |
created_at | 2018-03-21 15:20:13.582974 |
updated_at | 2023-02-15 15:54:24.253488 |
description | Put your app's data in the right place on every platform. Community-maintained project. |
homepage | https://lib.rs/app_dirs2 |
repository | https://github.com/app-dirs-rs/app_dirs2 |
max_upload_size | |
id | 56750 |
size | 61,903 |
Put your app's data in the right place on every platform
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.
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
.