-
Notifications
You must be signed in to change notification settings - Fork 105
Description
I am wondering whether it would be possible (or desirable?) to replace the liblzma dependency (Rust bindings for liblzma / xz) with the lzma-rust2 crate?
The latter is a "pure Rust" port of the "xz-java" project and even seems to have performance comparable to liblzma (or better). It also avoids having to link and / or build native C code / libraries, which should make some uses cases (like cross-compilation) easier. It's also almost entirely "safe" Rust code (except for some handwritten Assembly routines, which can even be disabled).
For context: I maintain the RPM package for the async-compression crate in Fedora Linux. The liblzma / liblzma-sys crates (forked from xz2 / lzma-sys?) would be something new to re-review / re-audit before they can be added, whereas lzma-rust2 was already added to support the zip crate.