Fix remote paths for Windows

This commit is contained in:
veeso
2021-04-02 22:09:58 +02:00
parent d48e05cd74
commit b610da16a9
5 changed files with 72 additions and 11 deletions

View File

@@ -41,12 +41,18 @@ ureq = { version = "2.0.2", features = ["json"] }
whoami = "1.1.0"
wildmatch = "1.0.13"
# POSIX dependencies
[target.'cfg(any(target_os = "unix", target_os = "macos", target_os = "linux"))'.dependencies]
users = "0.11.0"
# Windows + MacOS
[target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies]
keyring = "0.10.1"
# Windows dependencies
[target.'cfg(target_os = "windows")'.dependencies]
path-slash = "0.1.4"
# Features
[features]
githubActions = [] # used to run particular on github actions