Box large futures

This commit is contained in:
Maurus Decimus
2026-04-19 08:11:56 +02:00
parent c0d0ac9ea3
commit af23099e35
72 changed files with 1267 additions and 1469 deletions

View File

@@ -97,7 +97,7 @@ impl<T: SessionStream> Session<T> {
Command::CheckScript => self.handle_checkscript(request).await,
Command::HaveSpace => self.handle_havespace(request).await,
Command::Capability => self.handle_capability("").await,
Command::Authenticate => self.handle_authenticate(request).await,
Command::Authenticate => Box::pin(self.handle_authenticate(request)).await,
Command::StartTls => self.handle_start_tls().await,
Command::Logout => self.handle_logout().await,
Command::Noop => self.handle_noop(request).await,

View File

@@ -4,6 +4,8 @@
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-SEL
*/
#![deny(clippy::large_futures)]
pub mod core;
pub mod op;