#lzma #liblzma

sys lzma-sys

Raw bindings to liblzma which contains an implementation of LZMA and xz stream encoding/decoding. High level Rust bindings are available in the xz2 crate

20 releases

0.1.20 Oct 31, 2022
0.1.19 Jun 6, 2022
0.1.17 Oct 11, 2020
0.1.16 May 15, 2020
0.1.0 Mar 21, 2016

#131 in Compression

Download history 84863/week @ 2023-11-03 88791/week @ 2023-11-10 87291/week @ 2023-11-17 91751/week @ 2023-11-24 91413/week @ 2023-12-01 95751/week @ 2023-12-08 91814/week @ 2023-12-15 70389/week @ 2023-12-22 79964/week @ 2023-12-29 95706/week @ 2024-01-05 90223/week @ 2024-01-12 96999/week @ 2024-01-19 110598/week @ 2024-01-26 121231/week @ 2024-02-02 131825/week @ 2024-02-09 95501/week @ 2024-02-16

474,668 downloads per month
Used in 327 crates (7 directly)

MIT/Apache

1MB
24K SLoC

C 18K SLoC // 0.2% comments Visual Studio Project 2K SLoC M4 728 SLoC // 0.4% comments Automake 562 SLoC // 0.2% comments Rust 400 SLoC // 0.0% comments Shell 334 SLoC // 0.3% comments GNU Style Assembly 295 SLoC // 0.4% comments BASH 245 SLoC // 0.3% comments Bitbake 222 SLoC // 0.2% comments Visual Studio Solution 147 SLoC

Contains (ELF exe/lib, 2KB) xz-5.2/tests/compress_prepared_bcj_x86, (ELF exe/lib, 2KB) xz-5.2/tests/compress_prepared_bcj_sparc

xz2

Documentation

Bindings to the liblzma implementation in Rust, also provides types to read/write xz streams.

# Cargo.toml
[dependencies]
xz2 = "0.1"

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in xz2 by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies