Skip to main content

Crate use_zstd

Crate use_zstd 

Source
Expand description

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

Zstd labels and option metadata for RustUse.

Structs§

ZstdOptions
Zstd option metadata.

Enums§

ZstdFrameKind
Zstd frame shape labels.

Constants§

TAR_ZSTD_EXTENSION
Common zstd-compressed tar extension.
ZSTD_EXTENSION
Common zstd file extension.
ZSTD_EXTENSIONS
Common zstd-related extensions.
ZSTD_LABEL
Common Zstandard label.