1
0
Fork 0

Update deps

This commit is contained in:
Adrian Hedqvist 2023-06-18 09:51:36 +02:00
parent 7f62395071
commit 97f5fbf901
3 changed files with 248 additions and 260 deletions

502
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -13,7 +13,7 @@ color-eyre = "0.6.1"
glob = "0.3.0"
hyper = { version = "0.14.19", features = ["full"] }
lazy_static = "1.4.0"
opentelemetry = { version = "0.18.0", features = ["metrics"] }
opentelemetry = { version = "0.19.0", features = ["metrics"] }
prometheus = { version = "0.13.3", features = ["process"] }
pulldown-cmark = "0.9.2"
regex = "1.7.2"

View file

@ -31,7 +31,7 @@ pub fn render_atom_feed(state: &AppState) -> Result<String> {
posts: &posts,
};
let ctx = tera::Context::from_serialize(&feed)?;
let ctx = tera::Context::from_serialize(feed)?;
Ok(state.tera.render("atom.xml", &ctx)?)
}
@ -58,7 +58,7 @@ pub fn render_atom_tag_feed(tag: &Tag, state: &AppState) -> Result<String> {
posts: &posts,
};
let ctx = tera::Context::from_serialize(&feed)?;
let ctx = tera::Context::from_serialize(feed)?;
Ok(state.tera.render("atom.xml", &ctx)?)
}