Registry / utility / dirs-next

dirs-next

JSON →
library2.0.0rscratesunverified

Provides platform-specific standard directories for config, cache, and other data.

# Cargo.toml [dependencies] dirs-next = "2.0.0"
INSTALL
IMPORT
SIG · DIRS-NEXT
D
dirs-next
utilityrustv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

config_dir
use dirs_next::config_dir;

Gets the platform-specific configuration directory.

use dirs_next::config_dir; fn main() { if let Some(path) = config_dir() { println!("Config dir: {:?}", path); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
dirs-next — cargo add dirs-next · libregistry