diff options
Diffstat (limited to 'src/server.rs')
-rw-r--r-- | src/server.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/server.rs b/src/server.rs index cbe434c..9b83ad4 100644 --- a/src/server.rs +++ b/src/server.rs @@ -7,10 +7,10 @@ use rusoto_signature::Region; use tokio::sync::watch; use crate::config::*; -use crate::lmtp::*; -use crate::login::{ldap_provider::*, static_provider::*, *}; use crate::imap; +use crate::lmtp::*; use crate::login::ArcLoginProvider; +use crate::login::{ldap_provider::*, static_provider::*, *}; pub struct Server { lmtp_server: Option<Arc<LmtpServer>>, @@ -27,7 +27,10 @@ impl Server { None => None, }; - Ok(Self { lmtp_server, imap_server }) + Ok(Self { + lmtp_server, + imap_server, + }) } pub async fn run(self) -> Result<()> { |