A good opportunity to check how <a href="https:&#x2F;&#x2F;github.com&#x2F;PistonDevelopers&#x2F;image-png" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;PistonDevelopers&#x2F;image-png</a> is doing (a PNG decoder written in Rust). Looks like it includes bindings to use miniz.c for DEFLATE decoding as well as &quot;inflate&quot; (which seems to be DEFLATE in Rust). Also, it seems to have a fuzzing driver (png-afl). Good times!