#bindings #liblzma #stream #high-level #lzma #xz #xz2

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

#122 in Compression

Download history 81645/week @ 2023-11-21 95874/week @ 2023-11-28 93993/week @ 2023-12-05 95413/week @ 2023-12-12 79977/week @ 2023-12-19 67838/week @ 2023-12-26 92136/week @ 2024-01-02 92816/week @ 2024-01-09 95170/week @ 2024-01-16 96859/week @ 2024-01-23 118249/week @ 2024-01-30 123872/week @ 2024-02-06 126160/week @ 2024-02-13 127201/week @ 2024-02-20 148950/week @ 2024-02-27 119852/week @ 2024-03-05

541,960 downloads per month
Used in 331 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