3 releases
0.1.2 | Apr 1, 2023 |
---|---|
0.1.1 | Mar 31, 2023 |
0.1.0 | Mar 31, 2023 |
#2 in #home
4,596 downloads per month
Used in 4 crates
(3 directly)
4KB
51 lines
simple-home-dir
An extremely small library purposed to retrieve the user's home directory.
How to Use:
use simple_home_dir::*;
fn main() {
let path = home_dir().unwrap();
println!("{}", path.display())
}
And that's it!
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.
Dependencies
~0–6MB
~94K SLoC