Upgrade to Loco 1.0

This commit is contained in:
2026-08-01 16:06:17 +03:00
parent d640ce35b6
commit 7f139a0241
4 changed files with 1281 additions and 495 deletions
@@ -30,7 +30,7 @@ impl Initializer for ViewEngineInitializer {
);
info!("locales loaded");
engines::TeraView::build()?.post_process(move |tera| {
engines::TeraView::build_with_post_process(move |tera| {
tera.register_function("t", FluentLoader::new(arc.clone()));
Ok(())
})?