fix: remove ring spec and bump gcloud version #2768
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Motivation
Contrary to the comment, the ring feature does not select ring as the default backend. instead it enables it in rustls, and then if it is the only built-in backend enabled selects it by default. Unfortunately, if both built-ins are enabled there will be runtime errors in other peoples' binaries. When ring is enabled, binaries with the rustls features will crash when TLS is activated for the first time as TLS backend inference is feature based and fails when both are enabled. Rustls @ 0.23.31 enables
aws-lc-rsby default, ensuring that anyone using WS with a default-features rustls currently must either deliberately select a provider, or have runtime errorsgcloud incorrectly enabled ring in older 0.27 versions, so this PR explicitly bumps it to 0.27.4
If we need ring for development, we can enable it as a dev-dep.
I wanted to make a
Oncethat checks for provider configuration before entering the WS connection logic for the first time, however, the rustls API makes that impossible :(PR Checklist