Made cryptography and entity modules

Coupling was rising so it just makes sense
This commit is contained in:
2024-05-05 18:38:21 +03:00
parent 9af37f78b2
commit 5871943c01
23 changed files with 151 additions and 175 deletions

View File

@@ -1,13 +1,14 @@
pub use crate::{
commands::Command,
pub(crate) use crate::cryptography::{
self, account::Decrypted as DecryptedAccount, validate_field,
};
pub(crate) use crate::entity::{self, account::Account, master_pass::MasterPass, Pool};
pub(crate) use crate::{
errors::{handle_error, NoUserInfo},
first_handler, handler,
locales::{Locale, LocaleRef},
locales::LocaleRef,
markups::*,
models::*,
state::{Handler, MainDialogue, MessageIds, PackagedHandler, State},
};
pub use cryptography::prelude::*;
pub use entity::{prelude::*, Pool};
pub use futures::{StreamExt, TryStreamExt};
pub use teloxide::{adaptors::Throttle, prelude::*};
pub(crate) use futures::{StreamExt, TryStreamExt};
pub(crate) use teloxide::{adaptors::Throttle, prelude::*};