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/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 templates/src/lib.rs (limited to 'templates/src/lib.rs') diff --git a/templates/src/lib.rs b/templates/src/lib.rs new file mode 100644 index 0000000..c7b03ea --- /dev/null +++ b/templates/src/lib.rs @@ -0,0 +1,6 @@ +mod templates; +pub use templates::{ErrorPage, MainPage, Template, POSTS_PER_PAGE, Entry, VCard, Feed}; +mod onboarding; +pub use onboarding::OnboardingPage; +mod login; +pub use login::LoginPage; -- cgit 1.4.1