use-zstd 0.1.0

Zstd labels and option metadata for RustUse
Documentation
  • Coverage
  • 100%
    21 out of 21 items documented1 out of 9 items with examples
  • Size
  • Source code size: 6.41 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 442.03 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s 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-zstd

Zstd labels, extensions, and option metadata.

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

Example

use use_zstd::{ZSTD_EXTENSION, ZstdOptions};

let options = ZstdOptions::default().with_level(3).with_checksum(true);

assert_eq!(ZSTD_EXTENSION, "zst");
assert_eq!(options.level, Some(3));