Skip to content

Commit 7a0b59c

Browse files
authored
Merge pull request #1393 from spacejam/dependabot/cargo/zstd-0.10.0
Update zstd requirement from 0.9.0 to 0.10.0
2 parents 17bf21f + 66349cd commit 7a0b59c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ memshred = []
4848

4949
[dependencies]
5050
libc = "0.2.96"
51-
zstd = { version = "0.9.0", optional = true }
51+
zstd = { version = "0.10.0", optional = true }
5252
crc32fast = "1.2.1"
5353
log = "0.4.14"
5454
parking_lot = "0.11.1"

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)