From d6a8525274ccd96a5ce9540ea2ba1e463c84ff90 Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 20 Aug 2024 00:35:30 +0300 Subject: kittybox-util: 0.1.0 -> 0.2.0 Micropub types are now more coherent and gathered in one place. --- templates/Cargo.toml | 2 +- templates/src/templates.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/Cargo.toml b/templates/Cargo.toml index 6209e76..5281418 100644 --- a/templates/Cargo.toml +++ b/templates/Cargo.toml @@ -29,7 +29,7 @@ axum = "^0.7.5" version = "^0.4.19" features = ["serde"] [dependencies.kittybox-util] -version = "0.1.0" +version = "0.2.0" path = "../util" [dependencies.kittybox-indieauth] version = "0.2.0" diff --git a/templates/src/templates.rs b/templates/src/templates.rs index 3d22eac..0f55927 100644 --- a/templates/src/templates.rs +++ b/templates/src/templates.rs @@ -1,9 +1,9 @@ use http::StatusCode; -use kittybox_util::MicropubChannel; +use kittybox_util::micropub::Channel; use crate::{Feed, VCard}; markup::define! { - Template<'a>(title: &'a str, blog_name: &'a str, feeds: Vec, user: Option<&'a kittybox_indieauth::ProfileUrl>, content: String) { + Template<'a>(title: &'a str, blog_name: &'a str, feeds: Vec, user: Option<&'a kittybox_indieauth::ProfileUrl>, content: String) { @markup::doctype() html { head { -- cgit 1.4.1