use-xz 0.1.0

XZ labels and option metadata for RustUse
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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

```rust
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);
```