aboutsummaryrefslogtreecommitdiff
path: root/src/server.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-22 17:26:52 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-22 17:26:52 +0200
commitcea27474f9dfed289be4e7be017913d7165342f3 (patch)
tree6e971a12acfe82a2dca9d39d2cd36bafe3e59c6d /src/server.rs
parentac974184def76fefba6c36c5c9e0ff0298f860ff (diff)
downloadaerogramme-cea27474f9dfed289be4e7be017913d7165342f3.tar.gz
aerogramme-cea27474f9dfed289be4e7be017913d7165342f3.zip
cargo fmt
Diffstat (limited to 'src/server.rs')
-rw-r--r--src/server.rs9
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<()> {