[dependencies.futures]
optional = true
version = "0.1.26"
[dependencies.liblzma-sys]
default-features = false
version = "0.3.13"
[dependencies.num_cpus]
optional = true
version = "1.16.0"
[dependencies.tokio-io]
optional = true
version = "0.1.12"
[dev-dependencies.quickcheck]
version = "1.0.1"
[dev-dependencies.rand]
version = "0.8.0"
[features]
bindgen = ["liblzma-sys/bindgen"]
default = ["bindgen"]
fat-lto = ["liblzma-sys/fat-lto"]
parallel = ["liblzma-sys/parallel", "num_cpus"]
static = ["liblzma-sys/static"]
thin-lto = ["liblzma-sys/thin-lto"]
tokio = ["tokio-io", "futures"]
wasm = ["liblzma-sys/wasm"]
[lib]
name = "liblzma"
path = "src/lib.rs"
[package]
authors = ["Alex Crichton <alex@alexcrichton.com>", "Portable-Network-Archive Developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["compression", "api-bindings"]
description = """
Rust bindings to liblzma providing Read/Write streams as well as low-level
in-memory encoding/decoding. forked from xz2.
"""
edition = "2021"
exclude = [".github/"]
homepage = "https://github.com/portable-network-archive/liblzma-rs"
keywords = ["lzma", "xz", "encoding", "wasm"]
license = "MIT OR Apache-2.0"
name = "liblzma"
readme = "README.md"
repository = "https://github.com/portable-network-archive/liblzma-rs"
version = "0.3.6"
[package.metadata.docs.rs]
features = ["tokio-io", "futures", "parallel"]
[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio-core]
version = "0.1.17"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.getrandom]
features = ["js"]
version = "0.2"
[[test]]
name = "drop-incomplete"
path = "tests/drop-incomplete.rs"
[[test]]
name = "tokio"
path = "tests/tokio.rs"
[[test]]
name = "xz"
path = "tests/xz.rs"