#path #xdg #folder #basedir #app-dirs

cap-directories

Capability-based standard directories for config, cache and other data

77 releases (21 stable)

3.2.0 Jul 8, 2024
3.0.0 Jan 11, 2024
2.0.1 Jan 2, 2024
2.0.0 Jun 30, 2023
0.6.0 Nov 10, 2020

#838 in Filesystem

Download history 30/week @ 2024-03-29 7/week @ 2024-04-05 11/week @ 2024-04-19 6/week @ 2024-04-26 48/week @ 2024-05-10 100/week @ 2024-05-17 4/week @ 2024-05-24 3/week @ 2024-05-31 3/week @ 2024-06-07 1/week @ 2024-06-14 6/week @ 2024-06-28 120/week @ 2024-07-05 11/week @ 2024-07-12

137 downloads per month

Apache-2.0…

195KB
4K SLoC

cap-directories

Capability-based standard directories for config, cache and other data

Github Actions CI Status crates.io page docs.rs docs

The cap-directories crate provides utilities for accessing standard directories via the directories-next crate, but which provide Dirs instead of Paths.


lib.rs:

Capability-based standard directories.

Dependencies

~2–12MB
~152K SLoC