aboutsummaryrefslogtreecommitdiff
path: root/src/server.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-14 10:19:24 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-14 10:19:24 +0200
commit9c95b261e00299933368a18ce56e238f50874cc4 (patch)
tree0db3baa88c7a22e61afe393a370130e7bdac11b6 /src/server.rs
parent12b379e7c3f832be5fd650ce3abc33b7d0b9fed8 (diff)
downloadaerogramme-9c95b261e00299933368a18ce56e238f50874cc4.tar.gz
aerogramme-9c95b261e00299933368a18ce56e238f50874cc4.zip
cargo fmt + WIP uid index improvement
Diffstat (limited to 'src/server.rs')
-rw-r--r--src/server.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server.rs b/src/server.rs
index 2bbdc2b..365bc0f 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -2,8 +2,8 @@ use anyhow::Result;
use std::sync::Arc;
use crate::config::*;
-use crate::service;
use crate::mailstore;
+use crate::service;
use boitalettres::server::accept::addr::AddrIncoming;
use boitalettres::server::Server as ImapServer;
@@ -24,10 +24,10 @@ impl Server {
tracing::info!("Starting server on {:#}", self.incoming.local_addr);
/*let creds = self
- .mailstore
- .login_provider
- .login("quentin", "poupou")
- .await?;*/
+ .mailstore
+ .login_provider
+ .login("quentin", "poupou")
+ .await?;*/
//let mut mailbox = Mailbox::new(&creds, "TestMailbox".to_string()).await?;
//mailbox.test().await?;