alexcrichton / xz2-rs

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

Support for manually specifying LZMA params in decoding raw unheadered data #93

Open chyyran opened 2 years ago

chyyran commented 2 years ago

I am working on porting libchdr to Rust, which relies on some legacy behaviour of the LZMA SDK to work. I am stuck on trying to set decoder properties. There are equivalent calls in xz, but it seems not even lzma-sys exposes headers from xz/liblzma.