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

cap-directories

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

82 releases (26 stable)

new 3.4.2 Dec 4, 2024
3.4.1 Nov 5, 2024
3.4.0 Oct 30, 2024
3.2.0 Jul 8, 2024
0.6.0 Nov 10, 2020

#890 in Filesystem

Download history 18/week @ 2024-08-17 1/week @ 2024-08-24 32/week @ 2024-09-14 247/week @ 2024-09-21 43/week @ 2024-09-28 36/week @ 2024-10-05 32/week @ 2024-10-12 5/week @ 2024-10-19 119/week @ 2024-10-26 192/week @ 2024-11-02 50/week @ 2024-11-09 81/week @ 2024-11-16 101/week @ 2024-11-23 139/week @ 2024-11-30

393 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
~154K SLoC