Rust crate for 7z file decompress

Hi,

Is there any rust crate that can be used to decompress 7z file with password?

I just found some crates for lzma, e.g. [lzma](https://docs.rs/rust-lzma/0.5.1/lzma/), But I don't know how to unzip ".7z" files with those crates

A quick google shows that there indeed seem to be no Rust implementations. libarchive bindings exist in the form of https://crates.io/crates/compress-tools, but these don't seem to support passing along the encryption key. Your best bet is probably extending compress-tools with that functionality.

Alternatively, you could also try wrapping libarchive yourself (the API doesn't seem too terrible).

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.