[package]
name = "homedir"
version = "0.3.4"
edition = "2021"
authors = ["James Petersen <m@jamespetersen.ca>"]
license = "MIT OR Apache-2.0"
description = "A crate to help get the home directory of any user on a system."
homepage = "https://jamespetersen.ca/homedir"
readme = "README.md"
repository = "https://github.com/ljtpetersen/homedir"
keywords = ["home", "directory", "utility", "lightweight", "profile"]
categories = ["config", "filesystem"]
[target.'cfg(unix)'.dependencies]
nix = { version = "0.29", features = ["user"] }
[target.'cfg(windows)'.dependencies]
widestring = "1.0.2"
windows = { version = "0.57.0", features = [
"Win32",
"Win32_UI_Shell",
"Win32_Security",
"Win32_Security_Authorization",
"Win32_System_Com",
"Win32_System_Rpc",
"Win32_System_Threading",
"Win32_System_Wmi",
] }
[dependencies]
cfg-if = "1.0.0"
[features]
default = ["windows-coinitialize"]
windows-coinitialize = []