use-zstd 0.1.0

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

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