use-brotli 0.1.0

Brotli 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-brotli

Brotli labels, extensions, and option metadata.

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

## Example

```rust
use use_brotli::{BrotliLevel, BrotliProfile, is_brotli_filename};

assert!(is_brotli_filename("release.tar.br"));
assert_eq!(BrotliLevel::Best.as_str(), "best");
assert_eq!(BrotliProfile::Text.as_str(), "text");
```