diff options
| author | Hadrien Dorio <hadrien.dorio@gmail.com> | 2022-01-09 02:12:00 +0100 |
|---|---|---|
| committer | Hadrien Dorio <hadrien.dorio@gmail.com> | 2022-01-23 19:30:06 +0100 |
| commit | 490f067de82c8fd53029ddde0c73a242f4c04758 (patch) | |
| tree | 4edb14646e6cfecc2f79a336bc764593fdd8c164 /build.zig | |
| parent | dba04a272aba81f3be4d3419f1392e2c5a7e5dfb (diff) | |
| download | zig-490f067de82c8fd53029ddde0c73a242f4c04758.tar.gz zig-490f067de82c8fd53029ddde0c73a242f4c04758.zip | |
compress: add a deflate compressor
Replaces the inflate API from `inflateStream(reader: anytype, window_slice: []u8)` to
`decompressor(allocator: mem.Allocator, reader: anytype, dictionary: ?[]const u8)` and
`compressor(allocator: mem.Allocator, writer: anytype, options: CompressorOptions)`
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -93,12 +93,25 @@ pub fn build(b: *Builder) !void { .install_dir = .lib, .install_subdir = "zig", .exclude_extensions = &[_][]const u8{ - "README.md", + // exclude files from lib/std/compress/ + ".gz", ".z.0", ".z.9", - ".gz", "rfc1951.txt", + "rfc1952.txt", + // exclude files from lib/std/compress/deflate/testdata + ".expect", + ".expect-noinput", + ".golden", + ".input", + "compress-e.txt", + "compress-gettysburg.txt", + "compress-pi.txt", + "rfc1951.txt", + // exclude files from lib/std/tz/ ".tzif", + // others + "README.md", }, .blank_extensions = &[_][]const u8{ "test.zig", |
