mirror of
https://github.com/rust-lang/cargo
synced 2024-10-13 19:22:33 +00:00
40f1f67ea6
fix: add error for unsupported credential provider version Cargo currently ignores the version in the `CredentialHello` message, and proceeds to use version `1` regardless of what the credential provider claims it can support. This change does the following: * Adds a new error if Cargo doesn't support any of the supported protocol versions offered by the provider. * Kills the credential provider subprocess if it fails. This prevents it from hanging or printing spurious errors such as "broken pipe" when it's attempting to read the next JSON message. * Adds a new test for an unsupported credential provider protocol. |
||
---|---|---|
.. | ||
build-std | ||
testsuite |