From fdfa2bc2596cee2c2463bb9e21651b482ac8d106 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Sat, 19 Sep 2026 10:15:39 -0700 Subject: [PATCH] SCIM: box each bulk operation's dispatch, so the crate builds with the redis feature (SCIM-51) With redis on, bulk()'s future nested past the compiler's query depth limit. Boxing the per-operation call keeps it shallow; behavior is unchanged. --- crates/scim/src/bulk.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/scim/src/bulk.rs b/crates/scim/src/bulk.rs index e98a4de..f526514 100644 --- a/crates/scim/src/bulk.rs +++ b/crates/scim/src/bulk.rs @@ -207,7 +207,7 @@ async fn run_one( data.to_string().into_bytes() }; - match dispatch(ctx, kind, &route, None, &headers, &body).await { + match Box::pin(dispatch(ctx, kind, &route, None, &headers, &body)).await { Ok(response) => { let location = response .body