# std.compress.xz public API cleanup · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/ea9ded87582a8b9d0ed3afd3360a1d75f0359a5c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: ea9ded87582a8b9d0ed3afd3360a1d75f0359a5c

Requested commit: ea9ded87582a8b9d0ed3afd3360a1d75f0359a5c

Commit: ea9ded87582a8b9d0ed3afd3360a1d75f0359a5c

Tree: 9767d5562df1fd55bcc68472d20c6e5b9733fa46

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.compress.xz public API cleanup

 * add xz to std.compress
 * prefer importing std.zig by file name, to reduce reliance on the
   standard library being a special case.
 * extract some types from inside generic functions. These types are the
   same regardless of the generic parameters.
 * expose some more types in the std.compress.xz namespace.
 * rename xz.stream to xz.decompress
 * rename check.Kind to Check
 * use std.leb for LEB instead of a redundant implementation

```

## Parents

- [06ce15e8f719756cc12d928cfdae12be99a9e4c2](https://git.cafe/gitcafe/zig/commit/06ce15e8f719756cc12d928cfdae12be99a9e4c2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/ea9ded87582a8b9d0ed3afd3360a1d75f0359a5c?format=markdown)
