Registry / utility / simple-home-dir

simple-home-dir

JSON →
library0.5.2rscratesunverified

Returns the path of the current user's home directory if known.

# Cargo.toml [dependencies] simple-home-dir = "0.5.2"
INSTALL
IMPORT
SIG · SIMPLE-HOME-DIR
S
simple-home-dir
utilityrustv0.5.2
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.

home_dir
use simple_home_dir::home_dir;

Get the current user's home directory path.

use simple_home_dir::home_dir; if let Some(path) = home_dir() { println!("Home: {:?}", path); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
simple-home-dir — cargo add simple-home-dir · libregistry