upgrade to germ 0.4

This commit is contained in:
projectmoon 2024-03-24 16:05:14 +01:00
parent aab2e0e358
commit 8aa7369a12
3 changed files with 7 additions and 4 deletions

6
Cargo.lock generated
View File

@ -478,12 +478,14 @@ dependencies = [
[[package]] [[package]]
name = "germ" name = "germ"
version = "0.3.10" version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1a3b6e49850abb8a060002e2a3ec9a7e49626fc10192a93703f54e2589b9361" checksum = "6a44d21599b2d90136a258162d244267909f00073c4dce7ebda5a91b10f93f59"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"rustls 0.21.10", "rustls 0.21.10",
"tokio 1.36.0",
"tokio-rustls 0.24.1",
"url", "url",
] ]

View File

@ -12,7 +12,7 @@ atom_syndication = "0.12.2"
chrono = "0.4.35" chrono = "0.4.35"
clap = { version = "4.5.3", features = ["derive"] } clap = { version = "4.5.3", features = ["derive"] }
gemini-feed = "0.1.0" gemini-feed = "0.1.0"
germ = "0.3" germ = {version = "0.4", features = ["blocking"] }
once_cell = "1.19.0" once_cell = "1.19.0"
regex = "1.10.3" regex = "1.10.3"
tokio = {version = "1.36", features = [ "full" ] } tokio = {version = "1.36", features = [ "full" ] }

View File

@ -10,7 +10,8 @@ use anyhow::{anyhow, Error, Result};
use atom_syndication::{Entry as AtomEntry, Feed as AtomFeed}; use atom_syndication::{Entry as AtomEntry, Feed as AtomFeed};
use germ::ast::{Ast as GemtextAst, Node as GemtextNode}; use germ::ast::{Ast as GemtextAst, Node as GemtextNode};
use germ::convert::{self as germ_convert, Target}; 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 url::Url;
use crate::Cli; use crate::Cli;