-
Notifications
You must be signed in to change notification settings - Fork 21
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
Gzip #30
base: master
Are you sure you want to change the base?
Gzip #30
Conversation
This appears to require renaming some files, which probably breaks Cargo builds.
This is grand! I've scanned through it and didn't see anything inherently wrong. Would be nice to have it merging/compiling successfully, and then I'd do a second pass. |
Yes, merging would be nice. I beg to differ, though: it does compile On a slightly different topic, I notice it's a lot slower than the official On Monday 28 July 2014 18:16:32 Dzmitry Malyshau wrote:
|
Sadly the zlib decoder is not optimized at all, and is likely quite slow. You may be interested in the gzip bindings I wrote for another project which is backed by |
Write support too. Wish I'd known this existed before. |
This adds gzip decompression support.
You probably don't want to include as-is; I'm using Rust 0.11.0. I'm also using Meson to compile (Cargo didn't work; maybe the old version), which required renaming a couple of files (Meson's Rust support is in its infancy).
Code review is also welcome. I've tested against a few gzip examples (included).