File: README.md

package info (click to toggle)
rust-app-dirs2 2.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 200 kB
  • sloc: makefile: 2
file content (27 lines) | stat: -rw-r--r-- 1,063 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# app_dirs2

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

[![crates.io:app_dirs2](https://img.shields.io/crates/v/app_dirs2.svg?label=crates.io%3A%20app_dirs2)](https://crates.rs/crates/app_dirs2)

## This is the up-to-date version of `app_dirs`

The original [app_dirs](https://lib.rs/crates/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](https://lib.rs/crates/directories) crate.

## Documentation & examples

https://docs.rs/app_dirs2

## Installation

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

```toml
app_dirs = { package = "app_dirs2", version = "2.3" }
```

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.