xbjfk / liblzma-rs

Bindings to liblzma in Rust (xz streams in Rust)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

liblzma

CI Crates.io

Documentation

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

This crate is forked from xz2 and liblzma = "0.1.x" is fully compatible with xz2 = "0.1.7", so you can migrate simply.

Migrate from xz2

# Cargo.toml
[dependencies]
-xz2 = "0.1.7"
+liblzma = "0.1.7"
// *.rs
-use xz2;
+use liblzma;

Version 0.2.x breaking changes

  • XZ upgraded to 5.4
  • Multithreading is disabled by default. This feature is available by enabling the parallel feature
  • Support compile to webassembly

Version 0.3.x breaking changes

  • XZ upgraded to 5.6

License

This project is licensed under either of

at your option.

Contribution

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

About

Bindings to liblzma in Rust (xz streams in Rust)

License:Apache License 2.0


Languages

Language:Rust 98.5%Language:C 1.5%