mirror of
https://github.com/nushell/nushell
synced 2024-11-10 07:04:13 +00:00
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:
parent
f44f3a8af1
commit
014d36b17a
2 changed files with 3 additions and 12 deletions
13
Cargo.lock
generated
13
Cargo.lock
generated
|
@ -2467,15 +2467,6 @@ dependencies = [
|
|||
"winapi 0.3.9",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ntapi"
|
||||
version = "0.3.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f"
|
||||
dependencies = [
|
||||
"winapi 0.3.9",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ntapi"
|
||||
version = "0.4.0"
|
||||
|
@ -2791,7 +2782,7 @@ dependencies = [
|
|||
"log",
|
||||
"mach2",
|
||||
"nix",
|
||||
"ntapi 0.3.7",
|
||||
"ntapi",
|
||||
"once_cell",
|
||||
"procfs",
|
||||
"winapi 0.3.9",
|
||||
|
@ -4849,7 +4840,7 @@ dependencies = [
|
|||
"cfg-if 1.0.0",
|
||||
"core-foundation-sys",
|
||||
"libc",
|
||||
"ntapi 0.4.0",
|
||||
"ntapi",
|
||||
"once_cell",
|
||||
"rayon",
|
||||
"winapi 0.3.9",
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue