Crates.io | bzip2 |
lib.rs | bzip2 |
version | |
source | src |
created_at | 2014-11-13 06:35:38.538844 |
updated_at | 2024-12-11 15:54:48.484795 |
description | Bindings to libbzip2 for bzip2 compression and decompression exposed as Reader/Writer streams. |
homepage | https://github.com/trifectatechfoundation/bzip2-rs |
repository | https://github.com/trifectatechfoundation/bzip2-rs |
max_upload_size | |
id | 78 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A streaming compression/decompression library for rust with bindings to libbz2
.
By default, bzip2-rs
attempts to use the system libbz2
. When libbz2
is not available, the library
is built from source. A from source build requires a functional C toolchain for your target, and may not
work for all targets (in particular webassembly).
libbz2-rs-sys
Since version 0.5.0, this crate also supports using libbz2-rs-sys,
a drop-in compatible rust implementation of libbz2
. With this feature enabled, cross-compilation should work
like any other rust code, and no C toolchain is needed to compile this crate or its dependencies.
bzip2 = { version = "0.5.0", default-features = false, features = ["libbz2-rs-sys"] }
static
Always build libbz2
from source, and statically link it. When libbz2-rs-sys
is enabled, static mode is always used.
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.