From cf99e2a152f5cef186e4ed3c07aae2ec63ded2b6 Mon Sep 17 00:00:00 2001 From: dawn Date: Thu, 30 Jul 2026 19:43:41 +0300 Subject: [PATCH] bobbin: install rustls crypto provider explicitly Signed-off-by: dawn --- Cargo.lock | 1 + bobbin/crates/bobbin/Cargo.toml | 1 + bobbin/crates/bobbin/src/main.rs | 2 ++ 3 files changed, 4 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 242178006..6e1f68b97 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -687,6 +687,7 @@ dependencies = [ "clap", "confique", "futures", + "rustls", "serde", "socket2", "thiserror 2.0.18", diff --git a/bobbin/crates/bobbin/Cargo.toml b/bobbin/crates/bobbin/Cargo.toml index 6ee7112b1..674ecbb05 100644 --- a/bobbin/crates/bobbin/Cargo.toml +++ b/bobbin/crates/bobbin/Cargo.toml @@ -19,6 +19,7 @@ bobbin-runtime = { workspace = true } bobbin-search = { workspace = true } bobbin-slingshot-client = { workspace = true } bobbin-xrpc = { workspace = true } +rustls = { workspace = true } axum = { workspace = true } serde = { workspace = true, features = ["derive"] } diff --git a/bobbin/crates/bobbin/src/main.rs b/bobbin/crates/bobbin/src/main.rs index bdb082dd6..f4aec4994 100644 --- a/bobbin/crates/bobbin/src/main.rs +++ b/bobbin/crates/bobbin/src/main.rs @@ -69,6 +69,8 @@ enum Command { #[tokio::main] async fn main() -> ExitCode { + let _ = rustls::crypto::aws_lc_rs::default_provider().install_default(); + let cli = Cli::parse(); if let Some(Command::ConfigTemplate) = cli.command { -- 2.51.2