Skip to content

Commit 66349cd

Browse files
committed
Fix for breaking change in zstd 0.10.0
1 parent abdb665 commit 66349cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pagecache/logger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl Log {
140140
#[cfg(feature = "compression")]
141141
{
142142
if self.config.use_compression && pid != BATCH_MANIFEST_PID {
143-
use zstd::block::compress;
143+
use zstd::bulk::compress;
144144

145145
let buf = item.serialize();
146146

src/pagecache/snapshot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#[cfg(feature = "zstd")]
2-
use zstd::block::{compress, decompress};
2+
use zstd::bulk::{compress, decompress};
33

44
use crate::*;
55

0 commit comments

Comments
 (0)