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§
- XzCheck
Type - 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.