Commit b43bd68
committed
feat(deps): add rustls support to reqwest for musl compatibility
Replace native-tls (OpenSSL) with rustls-tls in the workspace reqwest
dependency to enable cross-compilation to musl targets without requiring
OpenSSL cross-compilation toolchain.
This change adds `rustls-tls` and `rustls-tls-webpki-roots` features to
the reqwest workspace dependency, which propagates to all crates that
use reqwest via the workspace, including google-cloud-gax-internal.
Benefits:
- Eliminates OpenSSL dependency and cross-compilation complexity
- Enables musl target builds without vendored OpenSSL or cargo-zigbuild
- Reduces binary size (rustls is pure Rust, no C dependencies)
- Improves musl compatibility and static linking support
The change maintains API compatibility as reqwest's rustls backend
provides equivalent functionality to native-tls for HTTP client operations.1 parent acbee59 commit b43bd68
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
0 commit comments