users crate only on unix, macos, linux

This commit is contained in:
ChristianVisintin
2020-11-30 21:02:11 +01:00
parent 4e1928866e
commit 6775383f7f
2 changed files with 4 additions and 2 deletions

View File

@@ -19,13 +19,15 @@ crossterm = "0.18.2"
getopts = "0.2.21"
ssh2 = "0.9.0"
tui = { version = "0.13.0", features = ["crossterm"], default-features = false }
users = "0.11.0"
whoami = "1.0.0"
rpassword = "5.0.0"
unicode-width = "0.1.7"
chrono = "0.4.19"
bytesize = "1.0.1"
[target.'cfg(any(unix, macos, linux))'.dependencies]
users = "0.11.0"
[dev-dependencies]
tempfile = "3"