0.5.1: axum-only apub_federation, rustls ring-only, install ring provider

This commit is contained in:
2026-10-26 03:41:08 +01:00
parent b569efe715
commit b88a187749
10 changed files with 82 additions and 636 deletions

View File

@@ -30,6 +30,7 @@ fn webfinger_url(handle: &ParsedHandle<'_>) -> String {
async fn fetch_webfinger(url: &str) -> anyhow::Result<serde_json::Value> {
let parsed = Url::parse(url)?;
crate::security::validate_url(&parsed).await?;
crate::tls::ensure_crypto_provider();
Ok(reqwest::Client::new()
.get(url)
.header("Accept", "application/jrd+json, application/json")