mirror of https://github.com/rust-lang/cargo
gate some libc usages under cfg(unix)
This commit is contained in:
parent
7e9c2ef30f
commit
3215929365
|
@ -173,7 +173,6 @@ indexmap.workspace = true
|
|||
itertools.workspace = true
|
||||
jobserver.workspace = true
|
||||
lazycell.workspace = true
|
||||
libc.workspace = true
|
||||
libgit2-sys.workspace = true
|
||||
memchr.workspace = true
|
||||
opener.workspace = true
|
||||
|
@ -208,6 +207,9 @@ supports-unicode = "3.0.0"
|
|||
[target.'cfg(target_has_atomic = "64")'.dependencies]
|
||||
tracing-chrome.workspace = true
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
libc.workspace = true
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
cargo-credential-libsecret.workspace = true
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@ filetime.workspace = true
|
|||
hex.workspace = true
|
||||
ignore.workspace = true
|
||||
jobserver.workspace = true
|
||||
libc.workspace = true
|
||||
same-file.workspace = true
|
||||
sha2.workspace = true
|
||||
shell-escape.workspace = true
|
||||
|
@ -25,6 +24,9 @@ walkdir.workspace = true
|
|||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
core-foundation.workspace = true
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
libc.workspace = true
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
miow.workspace = true
|
||||
windows-sys = { workspace = true, features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_Console"] }
|
||||
|
|
|
@ -10,12 +10,14 @@ description = "A library to assist writing Cargo credential helpers."
|
|||
|
||||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
libc.workspace = true
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json.workspace = true
|
||||
thiserror.workspace = true
|
||||
time.workspace = true
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
libc.workspace = true
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows-sys = { workspace = true, features = ["Win32_System_Console", "Win32_Foundation"] }
|
||||
|
||||
|
|
Loading…
Reference in New Issue