mirror of
https://github.com/rust-lang/cargo
synced 2024-08-24 18:15:45 +00:00
chore: make credential dependencies platform-specific
This commit is contained in:
parent
a4a8bd1742
commit
61a513c1a8
|
@ -8,4 +8,6 @@ description = "A Cargo credential process that stores tokens in a macOS keychain
|
|||
|
||||
[dependencies]
|
||||
cargo-credential = { version = "0.2.0", path = "../cargo-credential" }
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
security-framework = "2.0.0"
|
||||
|
|
|
@ -8,4 +8,10 @@ description = "A Cargo credential process that stores tokens with Windows Creden
|
|||
|
||||
[dependencies]
|
||||
cargo-credential = { version = "0.2.0", path = "../cargo-credential" }
|
||||
windows-sys = { version = "0.48", features = ["Win32_Foundation", "Win32_Security_Credentials"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies.windows-sys]
|
||||
version = "0.48"
|
||||
features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_Security_Credentials"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue