Skip to main content

Crate use_xz

Crate use_xz 

Source
Expand description

§use-xz

XZ labels, extensions, and option metadata.

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

§Example

use use_xz::{XzCheckType, XzOptions, XZ_EXTENSION};

let options = XzOptions::default().with_check_type(XzCheckType::Crc64);

assert_eq!(XZ_EXTENSION, "xz");
assert_eq!(options.check_type, XzCheckType::Crc64);

XZ labels and option metadata for RustUse.

Structs§

XzOptions
XZ option metadata.

Enums§

XzCheckType
XZ integrity check labels.

Constants§

LZMA_LABEL
Common LZMA label.
TAR_XZ_EXTENSION
Common xz-compressed tar extension.
XZ_EXTENSION
Common xz file extension.
XZ_EXTENSIONS
Common xz-related extensions.