use-brotli 0.1.0

Brotli compression labels, extensions, and option metadata for RustUse
Documentation
  • Coverage
  • 100%
    26 out of 26 items documented1 out of 11 items with examples
  • Size
  • Source code size: 8.55 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 538.69 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-archive
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

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

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");