diff --git a/Cargo.lock b/Cargo.lock index 74acc07..866693b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -478,12 +478,14 @@ dependencies = [ [[package]] name = "germ" -version = "0.3.10" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1a3b6e49850abb8a060002e2a3ec9a7e49626fc10192a93703f54e2589b9361" +checksum = "6a44d21599b2d90136a258162d244267909f00073c4dce7ebda5a91b10f93f59" dependencies = [ "anyhow", "rustls 0.21.10", + "tokio 1.36.0", + "tokio-rustls 0.24.1", "url", ] diff --git a/Cargo.toml b/Cargo.toml index 47fe7f5..7ee4012 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ atom_syndication = "0.12.2" chrono = "0.4.35" clap = { version = "4.5.3", features = ["derive"] } gemini-feed = "0.1.0" -germ = "0.3" +germ = {version = "0.4", features = ["blocking"] } once_cell = "1.19.0" regex = "1.10.3" tokio = {version = "1.36", features = [ "full" ] } diff --git a/src/gemfeed.rs b/src/gemfeed.rs index 0e3e86a..6f03db3 100644 --- a/src/gemfeed.rs +++ b/src/gemfeed.rs @@ -10,7 +10,8 @@ use anyhow::{anyhow, Error, Result}; use atom_syndication::{Entry as AtomEntry, Feed as AtomFeed}; use germ::ast::{Ast as GemtextAst, Node as GemtextNode}; use germ::convert::{self as germ_convert, Target}; -use germ::request::{request as gemini_request, Response as GeminiResponse}; +use germ::request::blocking::request as gemini_request; +use germ::request::Response as GeminiResponse; use url::Url; use crate::Cli;