diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-27 16:56:20 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-27 16:56:20 +0200 |
commit | 390bad0ec451a571e119903054b581a9d9a00cbe (patch) | |
tree | 467fdf3ade0325b8c69ea8350a2f15fa181d8981 /src/imap | |
parent | d3f8a6627ca13a020bac9936d1f40a18239b6d6d (diff) | |
download | aerogramme-390bad0ec451a571e119903054b581a9d9a00cbe.tar.gz aerogramme-390bad0ec451a571e119903054b581a9d9a00cbe.zip |
Refactor files in a "mail" crate
Diffstat (limited to 'src/imap')
-rw-r--r-- | src/imap/command/authenticated.rs | 2 | ||||
-rw-r--r-- | src/imap/command/selected.rs | 2 | ||||
-rw-r--r-- | src/imap/flow.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs index 5924f53..0b1f01e 100644 --- a/src/imap/command/authenticated.rs +++ b/src/imap/command/authenticated.rs @@ -9,7 +9,7 @@ use imap_codec::types::response::{Code, Data, Response as ImapRes, Status}; use crate::imap::command::anonymous; use crate::imap::flow; use crate::imap::session::InnerContext; -use crate::mailbox::Mailbox; +use crate::mail::Mailbox; const DEFAULT_FLAGS: [Flag; 5] = [ Flag::Seen, diff --git a/src/imap/command/selected.rs b/src/imap/command/selected.rs index fb6a75d..e44bf36 100644 --- a/src/imap/command/selected.rs +++ b/src/imap/command/selected.rs @@ -9,7 +9,7 @@ use imap_codec::types::sequence::SequenceSet; use crate::imap::command::authenticated; use crate::imap::flow; use crate::imap::session::InnerContext; -use crate::mailbox::Mailbox; +use crate::mail::Mailbox; pub async fn dispatch<'a>( inner: InnerContext<'a>, diff --git a/src/imap/flow.rs b/src/imap/flow.rs index f0ec7d1..bd4c484 100644 --- a/src/imap/flow.rs +++ b/src/imap/flow.rs @@ -2,7 +2,7 @@ use std::error::Error as StdError; use std::fmt; use crate::login::Credentials; -use crate::mailbox::Mailbox; +use crate::mail::Mailbox; pub struct User { pub name: String, |