Deflate Compressor for 0.15.1

Hey, just wanted to let people know I got my zipcmdline project working on 0.15.1, which, required porting the deflate compressor to 0.15.1. The port was pretty straightforward, basically what you’d expect with the API changes, I don’t remember touching much actual logic. A few generic types around Readers/Writers became concrete types which was nice. I also added some testing to the project before the upgrade to 0.15.1 so I know it works in at least some cases.

11 Likes

Does this mean a zig-0.15 release of anyzig is on the way? :slightly_smiling_face:

2 Likes

I didn’t know you had one. I also have an implementation in zignal, to handle PNG files (loading and saving). I’ve tested it with many images, but I occasionally encounter some errors.
I will check your implementation and take some inspiration from it!

Docs & Source:

In case you missed it, Kendall Condon contributed a new flate compressor that landed last week.

14 Likes

I did miss this, but that is great news. I have had three separate projects that relied upon it that have been in limbo waiting for it in (i.e. read-only instead of read/write). I was trying to avoid rolling my own or bringing in 3rd party dependencies for what I hoped would be a short-term regression in features, so I am very glad that my gambit paid off, and my trust in the Zig team and community was well-placed.

1 Like