Update deps
This commit is contained in:
parent
7f62395071
commit
97f5fbf901
3 changed files with 248 additions and 260 deletions
502
Cargo.lock
generated
502
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -13,7 +13,7 @@ color-eyre = "0.6.1"
|
||||||
glob = "0.3.0"
|
glob = "0.3.0"
|
||||||
hyper = { version = "0.14.19", features = ["full"] }
|
hyper = { version = "0.14.19", features = ["full"] }
|
||||||
lazy_static = "1.4.0"
|
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"] }
|
prometheus = { version = "0.13.3", features = ["process"] }
|
||||||
pulldown-cmark = "0.9.2"
|
pulldown-cmark = "0.9.2"
|
||||||
regex = "1.7.2"
|
regex = "1.7.2"
|
||||||
|
|
|
@ -31,7 +31,7 @@ pub fn render_atom_feed(state: &AppState) -> Result<String> {
|
||||||
posts: &posts,
|
posts: &posts,
|
||||||
};
|
};
|
||||||
|
|
||||||
let ctx = tera::Context::from_serialize(&feed)?;
|
let ctx = tera::Context::from_serialize(feed)?;
|
||||||
|
|
||||||
Ok(state.tera.render("atom.xml", &ctx)?)
|
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,
|
posts: &posts,
|
||||||
};
|
};
|
||||||
|
|
||||||
let ctx = tera::Context::from_serialize(&feed)?;
|
let ctx = tera::Context::from_serialize(feed)?;
|
||||||
|
|
||||||
Ok(state.tera.render("atom.xml", &ctx)?)
|
Ok(state.tera.render("atom.xml", &ctx)?)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue