diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-07 12:38:59 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-07 12:38:59 +0200 |
commit | b82df13082869dc4d455e15c2955e20de0b55675 (patch) | |
tree | 05d0644988351b2dd8181862094cd59f98764160 /src/server.rs | |
parent | 16e66cb56357f81bf026b7da93d8fb48237a7a71 (diff) | |
download | aerogramme-b82df13082869dc4d455e15c2955e20de0b55675.tar.gz aerogramme-b82df13082869dc4d455e15c2955e20de0b55675.zip |
Refactor
Diffstat (limited to 'src/server.rs')
-rw-r--r-- | src/server.rs | 4 |
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(()) |