ci: align release channels and speed rust checks

This commit is contained in:
fawney19
2026-05-14 14:09:27 +08:00
parent 48fe52b207
commit a7e71624e3
11 changed files with 163 additions and 80 deletions

View File

@@ -335,6 +335,7 @@ fn configure_tcp_socket(stream: &TcpStream, state: &Arc<AppState>) {
/// Build rustls ClientConfig with system root certificates.
pub fn build_tls_config() -> rustls::ClientConfig {
let _ = rustls::crypto::ring::default_provider().install_default();
let root_store =
rustls::RootCertStore::from_iter(webpki_roots::TLS_SERVER_ROOTS.iter().cloned());
rustls::ClientConfig::builder()

View File

@@ -503,6 +503,7 @@ pub fn resolve_request_timing<B>(
}
fn build_tls_config(http1_only: bool) -> Arc<ClientConfig> {
let _ = rustls::crypto::ring::default_provider().install_default();
let root_store =
rustls::RootCertStore::from_iter(webpki_roots::TLS_SERVER_ROOTS.iter().cloned());
let mut config = ClientConfig::builder()