simple-home-dir
An extremely small and optimized library purposed to retrieve the user's home directory.
How to Use:
use *;
And that's it!
use expand_tilde;
There's also the expand_tilde feature (disabled by default) which can expand upon the tilde from a given path.
Compatibility
This works on most operating systems.
Credit
The majority of the Windows portion of this has been noted from the windows-sys and directories crates.