Should the standard library be "batteries included"?

Note that Zig standard library already has support for tar extraction (and planned support for zip) as well as decompression support for DEFLATE, gzip, lzma, lzma2, xz, zlib, and zstandard. It also has compression support for DEFLATE and zlib.

For what gets included in the standard library, see:

Unsure if tar archiving will be needed internally or if a PR adding it would be merged, but it’s definitely not far fetched in terms of what’s in the standard library now.

8 Likes