From b1d2ad1ac8c1986a6255ef31045ea051f056711e Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 31 Jul 2023 15:58:07 +0300 Subject: templates-neo: init This is an experimental approach to templates, using `yoshuawuyts`'s `html` crate. The crate itself has a promising API, but is notably incomplete. --- Cargo.lock | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 39323f4..774d5f8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1308,6 +1308,21 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "html" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc3a7577238029a2704c53d9571a1e5c67f36ea9f487b03b405df8b64030cacf" +dependencies = [ + "html-sys", +] + +[[package]] +name = "html-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05eabf4b1d6f9cf57ee8ddaab1a3065ae8394c5cb08d80f9b49d9ebe9307b56d" + [[package]] name = "html5ever" version = "0.22.5" @@ -1670,6 +1685,28 @@ dependencies = [ "walkdir", ] +[[package]] +name = "kittybox-html" +version = "0.2.0" +dependencies = [ + "axum", + "chrono", + "ellipse", + "faker_rand", + "html", + "http", + "include_dir", + "kittybox-indieauth", + "kittybox-util", + "libflate", + "microformats", + "rand 0.8.5", + "serde_json", + "thiserror", + "url", + "walkdir", +] + [[package]] name = "kittybox-indieauth" version = "0.1.0" -- cgit 1.4.1