diff options
author | Vika <vika@fireburn.ru> | 2022-05-07 20:28:43 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-05-07 20:28:43 +0300 |
commit | 139b7ec10bc7f08dae9bd57eef8eff73fbb22061 (patch) | |
tree | 973c4d903e731cb5e38b682f22c38c3da1dbcd92 /templates/src/lib.rs | |
parent | 0679de841840c74ab49f54905783fac1faf028e1 (diff) | |
download | kittybox-139b7ec10bc7f08dae9bd57eef8eff73fbb22061.tar.zst |
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.
Diffstat (limited to 'templates/src/lib.rs')
-rw-r--r-- | templates/src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
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; |