From 982459d3438c478aa208bc61a0de1fe34a8d05a0 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 1 Mar 2024 18:44:13 +0200 Subject: [PATCH] fix(tvix/castore/blobwriter): don't require Sync + 'static There's no reason for these two. Change-Id: Ie6f238bbb0b17971c9877b11b61ea7ebca573c13 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11075 Reviewed-by: Connor Brewster Tested-by: BuildkiteCI Autosubmit: flokli --- tvix/castore/src/blobservice/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tvix/castore/src/blobservice/mod.rs b/tvix/castore/src/blobservice/mod.rs index eeb8b9649..7685ff40d 100644 --- a/tvix/castore/src/blobservice/mod.rs +++ b/tvix/castore/src/blobservice/mod.rs @@ -65,7 +65,7 @@ pub trait BlobService: Send + Sync { /// A [tokio::io::AsyncWrite] that the user needs to close() afterwards for persist. /// On success, it returns the digest of the written blob. #[async_trait] -pub trait BlobWriter: tokio::io::AsyncWrite + Send + Sync + Unpin + 'static { +pub trait BlobWriter: tokio::io::AsyncWrite + Send + Unpin { /// Signal there's no more data to be written, and return the digest of the /// contents written. ///