chore: strip unused rustls configurations to drastically speed up compilation

This commit is contained in:
Riz Ashraf committed 2026-09-22 05:40:11 +01:00
1 parent 0db94da646
commit 961a5a9e1b
7 files changed
+8 -467

No files matched your search

+2 -4
View File
@@ -7,15 +7,13 @@ use std::time::Duration;
async fn main() -> Result<(), Box<dyn std::error::Error>> {
tracing_subscriber::fmt::init();
let target = env::var("MCP_TARGET").unwrap_or_else(|_| "https://127.0.0.1:3000".to_string());
let target = env::var("MCP_TARGET").unwrap_or_else(|_| "http://127.0.0.1:3000".to_string());
let token = env::var("MCP_AUTH_TOKEN")
.unwrap_or_else(|_| "jP76lUJ5DtFRZmcvXH8LKdCTIkp29eAf".to_string());
tracing::info!("Starting skeletal client to {}", target);
let client = Client::builder()
.danger_accept_invalid_certs(true)
.build()?;
let client = Client::new();
let sse_url = format!("{target}/sse");