use-bzip2 0.1.0

Bzip2 compression labels, extensions, and option metadata for RustUse
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# use-bzip2

Bzip2 labels, extensions, and option metadata.

This crate is part of the `use-archive` facade workspace. It describes bzip2-related labels and options only. It does not compress, decompress, read bzip2 streams, or write bzip2 streams.

## Example

```rust
use use_bzip2::{Bzip2Level, Bzip2Profile, is_bzip2_filename};

assert!(is_bzip2_filename("release.tar.bz2"));
assert_eq!(Bzip2Level::Best.as_str(), "best");
assert_eq!(Bzip2Profile::Compatibility.as_str(), "compatibility");
```