simple-home-dir

Crate

An extremely small and optimized library purposed to retrieve the user's home directory.

Usage

rust // "/home/<USER>" simple_home_dir::home_dir().unwrap(); The expand_tilde feature (disabled by default) expands upon the tilde from a given path. ```rust // "/home//.local" simplehomedir::expand_tilde("~/.local").unwrap();

```

Credit

The majority of the Windows portion of this has been noted from the windows-sys and directories crates.