bzip2-rs
Pure Rust 100% safe bzip2 decompressor.
Features
- No features are enabled by default, Rust >= 1.34.2 is supported
rustc_1_37
: enables Rust >= 1.37 optimizationsrustc_1_40
: enables Rust >= 1.40 optimizationsrustc_1_51
: enables Rust >= 1.51 optimizations
Usage
use File;
use io;
use DecoderReader;
let mut compressed_file = open?;
let mut output = create?;
let mut reader = new;
copy?;
Upcoming features
- parallel decoding support (similar to pbzip2)
- bzip2 encoding support
- no_std support (is anybody interested with this?)
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.