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

cap-directories

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

81 releases (25 stable)

3.4.1 Nov 5, 2024
3.3.0 Sep 24, 2024
3.2.0 Jul 8, 2024
3.0.0 Jan 11, 2024
0.6.0 Nov 10, 2020

#967 in Filesystem

Download history 12/week @ 2024-08-16 7/week @ 2024-08-23 18/week @ 2024-09-13 239/week @ 2024-09-20 59/week @ 2024-09-27 38/week @ 2024-10-04 35/week @ 2024-10-11 6/week @ 2024-10-18 112/week @ 2024-10-25 178/week @ 2024-11-01 61/week @ 2024-11-08 26/week @ 2024-11-15

377 downloads per month
Used in asimov-core

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
~153K SLoC