Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: single-file-header? #51

Open
cnlohr opened this issue Jun 17, 2024 · 4 comments
Open

Feature Request: single-file-header? #51

cnlohr opened this issue Jun 17, 2024 · 4 comments
Labels

Comments

@cnlohr
Copy link

cnlohr commented Jun 17, 2024

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?

@pfalcon
Copy link
Owner

pfalcon commented Jun 23, 2024

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).

@cnlohr
Copy link
Author

cnlohr commented Jun 24, 2024

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.

@pfalcon
Copy link
Owner

pfalcon commented Jun 26, 2024

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

@cnlohr
Copy link
Author

cnlohr commented Jul 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants