alexcrichton / xz2-rs

Bindings to liblzma in Rust (xz streams in Rust)
Apache License 2.0
81 stars 52 forks source link

(.lz) lzip? #89

Open firasuke opened 2 years ago

firasuke commented 2 years ago

Is is possible to decompress .lz (lzip) files?

firasuke commented 2 years ago

@alexcrichton I've been working on lzip-rs which is basically a high-level wrapper around lzip-sys, to provide lzlib bindings for Rust.

I've actually finished most of the basic stuff, and inside lzip-rs/src I tried to copy what xz2-rs and bzip2-rs are doing, but I was unsuccessful in creating a valid stream.rs file as the bindings generated from lzlib.h don't contain an lzip_stream or a similarly named struct.

Can I ask you kindly to check lzip-rs and provide your thoughts as it's my first Rust crate?

Thanks in advance!