diff options
author | Alex Auvolat <alex@adnab.me> | 2022-07-12 15:31:29 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-07-12 15:31:29 +0200 |
commit | 5d6e4f73322b26038e76e6f915c6c79c5f03566e (patch) | |
tree | fe052de771cb5fb6f28cbcba03c2c63993063c70 /src/mail/incoming.rs | |
parent | 7b888ed8cfecc30468c4a33e1f0a3e4bbced5df4 (diff) | |
download | aerogramme-5d6e4f73322b26038e76e6f915c6c79c5f03566e.tar.gz aerogramme-5d6e4f73322b26038e76e6f915c6c79c5f03566e.zip |
cleanup
Diffstat (limited to 'src/mail/incoming.rs')
-rw-r--r-- | src/mail/incoming.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mail/incoming.rs b/src/mail/incoming.rs index 3a1e4f9..f64b9f3 100644 --- a/src/mail/incoming.rs +++ b/src/mail/incoming.rs @@ -1,15 +1,14 @@ use std::collections::HashMap; use std::convert::TryFrom; -use std::pin::Pin; + use std::sync::{Arc, Weak}; use std::time::Duration; use anyhow::{anyhow, bail, Result}; -use futures::{future::BoxFuture, Future, FutureExt}; +use futures::{future::BoxFuture, FutureExt}; use k2v_client::{CausalValue, CausalityToken, K2vClient, K2vValue}; use rusoto_s3::{ - DeleteObjectRequest, GetObjectRequest, HeadObjectRequest, ListObjectsV2Request, - PutObjectRequest, S3Client, S3, + DeleteObjectRequest, GetObjectRequest, ListObjectsV2Request, PutObjectRequest, S3Client, S3, }; use tokio::io::AsyncReadExt; use tokio::sync::watch; |