perf: enable clippy::large_futures lint

Large size of Mimefactor.render() futures
increases the size of all callers
down to set_config() and background_fetch().
I also had to Box::pin one call to fetch_new_msg_batch
and one call to fetch_single_msg.
This commit is contained in:
link2xt
2026-04-14 10:20:45 +02:00
committed by l
parent 89e450894d
commit f766c11075
5 changed files with 9 additions and 12 deletions

View File

@@ -580,7 +580,7 @@ async fn send_mdn_rfc724_mid(
)
.await?;
let encrypted = mimefactory.will_be_encrypted();
let rendered_msg = mimefactory.render(context).await?;
let rendered_msg = Box::pin(mimefactory.render(context)).await?;
let body = rendered_msg.message;
let mut recipients = Vec::new();