From 139b7ec10bc7f08dae9bd57eef8eff73fbb22061 Mon Sep 17 00:00:00 2001 From: Vika Date: Sat, 7 May 2022 20:28:43 +0300 Subject: Split into different crates Templates and utility types are now separate crates to speed up compilation, linting and potential reuse/replacement. Potentially more crates could be split out/modularized, resulting in speedups, smaller binaries (whenever features are excluded) and even more reuse capabilities. --- Cargo.lock | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index acf370d..40a3401 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1571,7 +1571,6 @@ dependencies = [ "data-encoding", "easy-scraper", "either", - "ellipse", "env_logger 0.8.4", "futures", "futures-util", @@ -1579,6 +1578,8 @@ dependencies = [ "httpmock", "hyper", "hyper-rustls", + "kittybox-templates", + "kittybox-util", "lazy_static", "listenfd", "log 0.4.17", @@ -1608,6 +1609,26 @@ dependencies = [ "warp-prometheus", ] +[[package]] +name = "kittybox-templates" +version = "0.1.0" +dependencies = [ + "chrono", + "ellipse", + "http", + "kittybox-util", + "log 0.4.17", + "markup", + "serde_json", +] + +[[package]] +name = "kittybox-util" +version = "0.1.0" +dependencies = [ + "serde", +] + [[package]] name = "kuchiki" version = "0.8.1" -- cgit 1.4.1