Use nt-api 4 on Windows (#6949)

* Bump nushell-sytem dep to ntapi 0.4

0.3.7 trigger a warning about code being incompatible
with future rust versions. This is resolved in 0.4
https://github.com/MSxDOS/ntapi/issues/11

* Upgrade Cargo.lock for ntapi 0.4
This commit is contained in:
Jens Hedegaard Nielsen
2022-10-30 14:29:41 +01:00
committed by GitHub
parent f44f3a8af1
commit 014d36b17a
2 changed files with 3 additions and 12 deletions

View File

@ -32,5 +32,5 @@ mach2 = "0.4"
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3.9", features = ["tlhelp32", "fileapi", "handleapi", "ifdef", "ioapiset", "minwindef", "pdh", "psapi", "synchapi", "sysinfoapi", "winbase", "winerror", "winioctl", "winnt", "oleauto", "wbemcli", "rpcdce", "combaseapi", "objidl", "powerbase", "netioapi", "lmcons", "lmaccess", "lmapibuf", "memoryapi", "shellapi", "std", "securitybaseapi"] }
chrono = "0.4.21"
ntapi = "0.3"
ntapi = "0.4"
once_cell = "1.0"