aboutsummaryrefslogtreecommitdiff
path: root/src/server.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-07 12:38:59 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-07 12:38:59 +0200
commitb82df13082869dc4d455e15c2955e20de0b55675 (patch)
tree05d0644988351b2dd8181862094cd59f98764160 /src/server.rs
parent16e66cb56357f81bf026b7da93d8fb48237a7a71 (diff)
downloadaerogramme-b82df13082869dc4d455e15c2955e20de0b55675.tar.gz
aerogramme-b82df13082869dc4d455e15c2955e20de0b55675.zip
Refactor
Diffstat (limited to 'src/server.rs')
-rw-r--r--src/server.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.rs b/src/server.rs
index 57ce048..2bbdc2b 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -2,7 +2,7 @@ use anyhow::Result;
use std::sync::Arc;
use crate::config::*;
-use crate::instance;
+use crate::service;
use crate::mailstore;
use boitalettres::server::accept::addr::AddrIncoming;
@@ -32,7 +32,7 @@ impl Server {
//mailbox.test().await?;
let server =
- ImapServer::new(self.incoming).serve(instance::Instance::new(self.mailstore.clone()));
+ ImapServer::new(self.incoming).serve(service::Instance::new(self.mailstore.clone()));
let _ = server.await?;
Ok(())