From b6b36a0d94da3126f4550379c03a40f5f60e48c6 Mon Sep 17 00:00:00 2001 From: Piotr Sarna Date: Thu, 20 Apr 2023 14:46:14 +0200 Subject: [PATCH] fixup: implement Stream for JsonOnDiskStream under a feature --- core/mvcc/database/src/persistent_storage.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/mvcc/database/src/persistent_storage.rs b/core/mvcc/database/src/persistent_storage.rs index 6ec92c810..60c3d0a80 100644 --- a/core/mvcc/database/src/persistent_storage.rs +++ b/core/mvcc/database/src/persistent_storage.rs @@ -44,6 +44,7 @@ pub struct JsonOnDiskStream { inner: tokio_stream::wrappers::LinesStream>, } +#[cfg(feature = "tokio")] impl futures::stream::Stream for JsonOnDiskStream { type Item = Mutation;