Skip to content

Commit

Permalink
bump v1.7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Nov 18, 2024
1 parent 8160e72 commit 534cff0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ members = [

[package]
name = "fast_log"
version = "1.7.5"
version = "1.7.6"
description = "Rust async log High-performance asynchronous logging"
readme = "README.md"
authors = ["ce <[email protected]>"]
Expand All @@ -29,7 +29,7 @@ crossbeam = "0.8"
crossbeam-channel = "0.5"
dark-std = "0.2"
parking_lot = "0.12"
zip = { version = "0.6", optional = true }
zip = { version = "2.2.0", optional = true }
lz4_flex = { version = "0.11", optional = true }
flate2 = { version = "1.0", optional = true }

2 changes: 1 addition & 1 deletion src/plugin/packer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl Packer for ZipPacker {
.map_err(|e| LogError::from(format!("[fast_log] create(&{}) fail:{}", zip_path, e)))?;
//write zip bytes data
let mut zip = zip::ZipWriter::new(zip_file);
zip.start_file(log_name, FileOptions::default())
zip.start_file::<String, ()>(log_name, FileOptions::default())
.map_err(|e| LogError::from(e.to_string()))?;
//buf reader
std::io::copy(&mut log_file, &mut zip).map_err(|e| LogError::from(e.to_string()))?;
Expand Down

0 comments on commit 534cff0

Please sign in to comment.