A streaming compression/decompression library for rust with bindings to libbz2.
# Cargo.toml
[dependencies]
bzip2 = "0.4"
License
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this repository by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
.gitignore
target
Cargo.lock
Cargo.toml
[package]
name = "bzip2"
version = "0.4.4"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
readme = "README.md"
keywords = ["bzip", "encoding"]
repository = "https://github.com/alexcrichton/bzip2-rs"
homepage = "https://github.com/alexcrichton/bzip2-rs"
documentation = "https://docs.rs/bzip2"
description = """
Bindings to libbzip2 for bzip2 compression and decompression exposed as
Reader/Writer streams.
"""
categories = ["compression", "api-bindings"]
[workspace]
[dependencies]
libc = "0.2"
bzip2-sys = { version = "0.1.11", path = "bzip2-sys" }
tokio-io = { version = "0.1", optional = true }
futures = { version = "0.1", optional = true }
[dev-dependencies]
rand = "0.8"
partial-io = { version = "0.3", features = ["quickcheck"] }
quickcheck = "1.0"
quickcheck6 = { version = "0.6", package = "quickcheck" }
tokio-core = "0.1"
[features]
tokio = ["tokio-io", "futures"]
# Enable this feature if you want to have a statically linked bzip2
static = ["bzip2-sys/static"]
Author: alexcrichton
Source: https://github.com/alexcrichton/bzip2-rs
License: Apache-2.0, MIT licenses found