fix: install crypto provider default select

This commit is contained in:
Ryan Walters
2025-09-19 08:54:20 -05:00
parent f9e79eb6d6
commit 54eca9f447

View File

@@ -24,6 +24,10 @@ mod session;
#[tokio::main]
async fn main() {
rustls::crypto::ring::default_provider()
.install_default()
.expect("Failed to install default crypto provider");
// Load environment variables
#[cfg(debug_assertions)]
dotenvy::from_path(std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")).join(".env")).ok();