uzlib icon indicating copy to clipboard operation
uzlib copied to clipboard

Feature Request: single-file-header?

Open cnlohr opened this issue 1 year ago • 4 comments

Would you consider making a portable single-file-header, i.e. header-only with #define UZLIB_IMPLEMENTATION? So that one could implement this in their own projects without making a more sophisticated build system?

cnlohr avatar Jun 17 '24 02:06 cnlohr

Well, I don't much time to work on the project recently, so wouldn't be able to do that any time soon. I'm also not a fan of amalgamations (unless it's automatically produced from the existing source, so doesn't require manual actions).

pfalcon avatar Jun 23 '24 07:06 pfalcon

Is fair, feel free tor close - just as a user, I have basically taken to not using libraries unless they are SFH's now is the only reason I say that. But auto-generated is fine, too.

cnlohr avatar Jun 24 '24 23:06 cnlohr

I'm ok to keep open to consider in more detail when time permits.

pfalcon avatar Jun 26 '24 21:06 pfalcon

Just hoping to set up shop and live a little rent free in my "single-file-header" house :)

In the mean time I put this together: https://github.com/cnlohr/rtgz-tinf-util - it doesn't do any compression (as the header), but it does help with decompression especially in restrictive systems.

cnlohr avatar Jul 03 '24 23:07 cnlohr