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. --- templates/Cargo.toml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 templates/Cargo.toml (limited to 'templates/Cargo.toml') diff --git a/templates/Cargo.toml b/templates/Cargo.toml new file mode 100644 index 0000000..c4c7f46 --- /dev/null +++ b/templates/Cargo.toml @@ -0,0 +1,19 @@ +[package] +name = "kittybox-templates" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +ellipse = "^0.2.0" # Truncate and ellipsize strings in a human-friendly way +http = "^0.2.7" # Hyper's strong HTTP types +log = "^0.4.14" # A lightweight logging facade for Rust +markup = "^0.12.0" # HTML templating engine +serde_json = "^1.0.64" # A JSON serialization file format +[dependencies.chrono] # Date and time library for Rust +version = "^0.4.19" +features = ["serde"] +[dependencies.kittybox-util] +version = "0.1.0" +path = "../util" \ No newline at end of file -- cgit 1.4.1