diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-22 17:26:52 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-22 17:26:52 +0200 |
commit | cea27474f9dfed289be4e7be017913d7165342f3 (patch) | |
tree | 6e971a12acfe82a2dca9d39d2cd36bafe3e59c6d /src/server.rs | |
parent | ac974184def76fefba6c36c5c9e0ff0298f860ff (diff) | |
download | aerogramme-cea27474f9dfed289be4e7be017913d7165342f3.tar.gz aerogramme-cea27474f9dfed289be4e7be017913d7165342f3.zip |
cargo fmt
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<()> { |