Update to lz4_flex 0.11 (#2106)

This commit is contained in:
PSeitz
2023-06-29 14:16:00 +08:00
committed by GitHub
parent 17186ca9c9
commit 040554f2f9
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ regex = { version = "1.5.5", default-features = false, features = ["std", "unico
aho-corasick = "1.0"
tantivy-fst = "0.4.0"
memmap2 = { version = "0.7.1", optional = true }
lz4_flex = { version = "0.10", default-features = false, features = ["checked-decode"], optional = true }
lz4_flex = { version = "0.11", default-features = false, optional = true }
brotli = { version = "3.3.4", optional = true }
zstd = { version = "0.12", optional = true, default-features = false }
snap = { version = "1.0.5", optional = true }

View File

@@ -426,7 +426,7 @@ mod tests {
assert_eq!(store.cache_stats().cache_hits, 1);
assert_eq!(store.cache_stats().cache_misses, 2);
assert_eq!(store.cache.peek_lru(), Some(11163));
assert_eq!(store.cache.peek_lru(), Some(11207));
Ok(())
}