forked from Frommi/miniz_oxide
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[pull] master from Frommi:master #2
Open
pull
wants to merge
122
commits into
mesalock-linux:master
Choose a base branch
from
Frommi:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes #72
Fixed bug causing an infinite loop when compress_to_vec was called with empty or 1-length input. Closes #75
This reverts commit 8577636.
Fixed bug causing an infinite loop when compress_to_vec was called with empty or 1-length input. Closes #75
Attempt to fix overflow panic when calling compress with a >4GB large slice. (#74)
Add changelog using clog fixes #71
* Flag `miniz_oxide` as a `#![no_std]` library This commit conversion the `miniz_oxide` crate to a `#![no_std]` library, and is as a result a breaking change for the library. Currently the only dependency on the `std` crate is the `std::io::Cursor` type, which is pretty easily replaced with a `usize` parameter in a few locations. The goal of this commit is to eventually enable this library to be included into the standard library itself. Dependencies of the standard library can't depend on the standard library as well! The reason for including this in the standard library is that the `backtrace` crate wants to decompress DWARF information in executables, which can be compressed with zlib. * Update with annotations to build in libstd
* Add support for limiting output size when decompressing to Vec * Document the new functions
* Introduce reset policy to control InflateState::reset * Update comments per request
Badges
* feat: automatic `alloc` detection * fix: leave the feature in for compatibility
chore: Fix travis link in readme
* Increase the license options. * Rename license to be the MIT license * Add text of the new licenses. * remove the appendix. * Move the changes to just the intended crate.
This is because of a geiger issue geiger-rs/cargo-geiger#82
"it's" with an apostrophe is a contraction of "it is" or "it has", and "its" without an apostrophe is the possessive form of "it". It should be "on its own" since the intended meaning is not "on it is own".
* Move misplaced doccomment * Avoid slice_start_index_len_fail * Make init_tree fallible * Add bounds checks to init_tree This eliminates costlier implicit panicking bounds checks * Reduce panics in compress_to_vec_inner
* Add throughput to benches * Trim debug/error fmt * Amortize bounds checks in apply_match fast path * Avoid panic in tree_lookup
…Finish in line with orig miniz and zlib also fixes some clippy warnings and adds a test for it Closes #143
…ith --no-default-features) and make add test run of it to ci
The crate requires simd-adler32 in version 0.3.3 at a minimum, as that is when the simd_adler32::Adler32::from_checksum constructor was introduced. Fix the version specification accordingly. Signed-off-by: Daniel Müller <[email protected]>
…to newer version of cc not supporting 1.50
…p table for bit reversal
…ression performance a little
…ing, update to adler2
I am implementing Seek for a wrapper that reads deflated files. To do this, I will inflate the file once and save the dictionary and inflate state at several points in the file. Later, when I want to seek to some random place in the file, I will use the cloned state+dict to position to a known file position and then inflate until I reach the data I need. To support this, I need to be able to Clone the InflateState and its parts (the current dictionary). Derive Clone for InflateState, HuffmanTable and DecompressorOxide.
… bits for tiny space/perf saving and fix clippy warnings
…ut reading and change some data types for performance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )