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

cap-directories

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

80 releases (24 stable)

new 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

#943 in Filesystem

Download history 19/week @ 2024-08-19 33/week @ 2024-09-16 259/week @ 2024-09-23 31/week @ 2024-09-30 40/week @ 2024-10-07 32/week @ 2024-10-14 147/week @ 2024-10-28

219 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