naivedogger opened a new pull request, #1453: URL: https://github.com/apache/paimon-rust/pull/1453
### Purpose Closes #1451. Paimon currently enables reqwest’s default TLS backend, which can introduce an OpenSSL build dependency on Linux. Making the backend selectable allows downstream crates to use rustls for Paimon’s HTTP clients as well. ### Brief change log Expose `native-tls` (default) and `rustls` as Cargo features. The rustls backend uses system certificate roots. Existing non-TLS reqwest features are retained. ### Tests Checked the Linux dependency graph with `cargo tree`: the default build includes `openssl-sys`; the build with `--no-default-features --features rustls` does not. ### API and Format Default builds retain native TLS. Applications that already set `default-features = false` and rely on HTTPS must explicitly enable `native-tls` or `rustls` when upgrading. Cargo features are additive, so another dependency can still enable native TLS for the same reqwest version. ### Documentation The getting-started guide includes a rustls configuration and the migration note for applications that disable default features. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
