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

@@ -625,7 +625,7 @@ impl PropFindRequestHandler for Server {
&query.propfind,
)
.await?
.map(DavValue::Response)
.map(|r| DavValue::Response(Box::new(r)))
.unwrap_or(DavValue::Null),
));
}
@@ -675,7 +675,7 @@ impl PropFindRequestHandler for Server {
&query.propfind,
)
.await?
.map(DavValue::Response)
.map(|r| DavValue::Response(Box::new(r)))
.unwrap_or(DavValue::Null),
));
}

View File

@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-SEL
*/
#![warn(clippy::large_futures)]
#![deny(clippy::large_futures)]
pub mod calendar;
pub mod card;