facebook / buck2

Build system, successor to Buck
https://buck2.build/
Apache License 2.0
3.38k stars 200 forks source link

Bump rustls for client_auth_cert method #553

Closed stagnation closed 4 months ago

stagnation commented 4 months ago

It was added in the 0.21.5 point release. Errors took the following form:

$ ~/task/buck2 cargo build
error[E0599]: no method named `with_client_auth_cert` found for struct `ConfigBuilder` in the current scope
   --> app/buck2_http/src/tls.rs:126:10
    |
123 | /     ClientConfig::builder()
124 | |         .with_safe_defaults()
125 | |         .with_root_certificates(system_roots)
126 | |         .with_client_auth_cert(cert, key)
    | |         -^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `with_no_client_auth`
    | |_________|
facebook-github-bot commented 4 months ago

@dtolnay has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.