dirs

crates.io v6.0.0

3,145,785 weekly downloads · 1 Dependencies

Source data as of:

Summary

A tiny low-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows, macOS and Redox by leveraging the mechanisms defined by the XDG base/user directory specifications on Linux, the Known Folder API on Windows, and the…

Install cargo add dirs

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 3,145,785 Source: crates.io (Rust)
Releases 20 Last release: 2025-01-12 Source: crates.io (Rust)
Dependencies 1 Source: crates.io (Rust)

Description

A tiny low-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows, macOS and Redox by leveraging the mechanisms defined by the XDG base/user directory specifications on Linux, the Known Folder API on Windows, and the Standard Directory guidelines on macOS.

Registry-supplied description, cleaned to plain text. Source: crates.io (Rust).

Package details

Package
dirs
Registry
crates.io
Version
6.0.0
Weekly downloads
3,145,785 (weekly)
Dependencies
1: dirs-sys
Releases
20
Last release
2025-01-12
First published
2015-11-24
Keywords
path, xdg, basedir, folder, app_dirs
Repository
https://github.com/soc/dirs-rs

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 35.8 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 23.8 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 48.9 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources