Skip to content

Commit

Permalink
Bump bzip2 dependency
Browse files Browse the repository at this point in the history
To make dependabot less unhappy.
  • Loading branch information
marfl committed Dec 25, 2023
1 parent 0c15d5c commit 6040ad6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ itertools = "0.10"
quicli = { version = "0.4", optional = true }
structopt = { version = "0.2", optional = true }
rand = { version = "0.8", optional = true }
bzip2 = { version = "0.3", optional = true }
bzip2 = { version = "0.4.4", optional = true }
csv = { version = "1.1", optional = true }
par-map = { version = "0.1", optional = true }
sha3 = { version = "0.9", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/io/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl Graph {
head_comment: Option<&str>,
) -> std::io::Result<()> {
let file = File::create(&path)?;
let mut compresser = write::BzEncoder::new(file, Compression::Default);
let mut compresser = write::BzEncoder::new(file, Compression::best());
let graph_as_string = Self::to_as_rel_string(graph, head_comment).unwrap();
compresser.write_all(graph_as_string.as_bytes()).unwrap();
compresser.finish()?;
Expand Down

0 comments on commit 6040ad6

Please sign in to comment.