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

cap-directories

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

79 releases (23 stable)

new 3.4.0 Oct 30, 2024
3.2.0 Jul 8, 2024
3.0.0 Jan 11, 2024
2.0.1 Jan 2, 2024
0.6.0 Nov 10, 2020

#878 in Filesystem

Download history 15/week @ 2024-07-11 5/week @ 2024-08-15 14/week @ 2024-08-22 18/week @ 2024-09-12 224/week @ 2024-09-19 71/week @ 2024-09-26 38/week @ 2024-10-03 30/week @ 2024-10-10 14/week @ 2024-10-17 52/week @ 2024-10-24

150 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–13MB
~159K SLoC