sqlx/sqlx-macros
Ilya Bizyaev 35c78f5175
Support building with rustls but native certificates (#3551)
This adds an alternative TLS configuration that relies on rustls-native-certs,
for users who cannot bundle the MPL-licensed webpki-roots.

The approach is copied from reqwest:

* https://github.com/seanmonstar/reqwest/blob/3ad6e02cd/Cargo.toml#L48
* https://github.com/seanmonstar/reqwest/blob/3ad6e02cd/src/async_impl/client.rs#L513

— except error handling is relaxed to accommodate for tls_config.root_cert_path.
2024-11-27 16:39:18 -08:00
..
src feat: new derive feature flag (#3113) 2024-03-30 15:24:56 -07:00
Cargo.toml Support building with rustls but native certificates (#3551) 2024-11-27 16:39:18 -08:00
LICENSE-APACHE Add LICENSE-* files to crates 2024-06-20 10:56:08 -07:00
LICENSE-MIT Add LICENSE-* files to crates 2024-06-20 10:56:08 -07:00