[package]
name = "liblzma"
version = "0.4.1"
authors = ["Alex Crichton <alex@alexcrichton.com>", "Portable-Network-Archive Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["lzma", "xz", "encoding", "wasm"]
repository = "https://github.com/portable-network-archive/liblzma-rs"
homepage = "https://github.com/portable-network-archive/liblzma-rs"
description = """
Rust bindings to liblzma providing Read/Write streams as well as low-level
in-memory encoding/decoding. forked from xz2.
"""
categories = ["compression", "api-bindings"]
edition = "2021"
rust-version = "1.60"
exclude = [".github/"]
[workspace]
members = ["systest"]
[dependencies]
liblzma-sys = { path = "liblzma-sys", version = "0.4.3", default-features = false }
num_cpus = { version = "1.16.0", optional = true }
[dev-dependencies]
rand = "0.8.0"
quickcheck = "1.0.1"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
getrandom = { version = "0.2", features = ["js"] }
[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dev-dependencies]
wasm-bindgen-test = "0.3"
[features]
default = ["bindgen"]
static = ["liblzma-sys/static"]
parallel = ["liblzma-sys/parallel", "num_cpus"]
bindgen = ["liblzma-sys/bindgen"]
wasm = ["liblzma-sys/wasm"]
uncheck_liblzma_version = ["liblzma-sys/uncheck_liblzma_version"]
fat-lto = ["liblzma-sys/fat-lto"]
thin-lto = ["liblzma-sys/thin-lto"]
[package.metadata.docs.rs]
features = ["parallel"]