Skip to content

Commit

Permalink
add XZ support
Browse files Browse the repository at this point in the history
add support for decompressing .xz files. Hack implementation
that reads entire file during `BlockReader::new`.

The crate chosen is written entirely in rust (good).
The crate chosen does not expose header information like the uncompressed
stream size (bad).
  • Loading branch information
jtmoon79 committed Jun 24, 2022
1 parent a85f037 commit 607a23c
Show file tree
Hide file tree
Showing 6 changed files with 603 additions and 41 deletions.
32 changes: 32 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ flate2 = "1.0.24"
itertools = "0.10.3"
lazy_static = "1.4.0"
lru = "0.7.7"
lzma-rs = "0.2.0"
mime = "0.3.16"
mime_guess = "2.0.4"
mime-sniffer = "0.1.2"
Expand Down
Loading

0 comments on commit 607a23c

Please sign in to comment.