#app-dirs #xdg #path

cap-directories

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

83 releases (27 stable)

new 3.4.3 Apr 4, 2025
3.4.2 Dec 4, 2024
3.4.1 Nov 5, 2024
3.2.0 Jul 8, 2024
0.6.0 Nov 10, 2020

#960 in Filesystem

Download history 9/week @ 2024-12-17 9/week @ 2025-01-07 5/week @ 2025-01-14 1/week @ 2025-01-21 15/week @ 2025-02-04 15/week @ 2025-02-18 28/week @ 2025-02-25 42/week @ 2025-03-04 6/week @ 2025-03-11 7/week @ 2025-03-25 126/week @ 2025-04-01

139 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.

Dependencies

~3–13MB
~170K SLoC