summaryrefslogtreecommitdiffstats
path: root/buffered-reader/src/decompress.rs
AgeCommit message (Collapse)Author
2018-06-19openpgp, buffered-reader: Make compression an optional feature.Justus Winter
- This helps to reduce the trusted computing base if compression is not needed. - This makes it easier to fuzz Sequoia, previously the fuzzer was doing a great job creating compression bombs that triggered the fuzzers timeout. - Currently, the cargo workspace feature does not propagate --no-default-features, but it is possible to depend on the openpgp crate with `default-features = false`. - Unfortunately, a lot of test cases include compressed packages. This change conditionally disables these tests.
2018-03-20openpgp,buffered-reader: Prefer access functions.Neal H. Walfield
- Don't access the inner BufferedReader directly, use the get_ref() function, thereby eliminates duplicate code.
2018-02-25buffered-reader: Provide a method to get the internal buffer.Neal H. Walfield
- data() returns the internal buffer, but needs a mutable reference. This new function, buffer(), returns the internal buffer with a normal reference.
2018-02-23buffered-reader: Add methods to get a reference to the inner reader.Neal H. Walfield
- To be able to walk a stack of buffered readers without consuming them, add the get_mut and get_ref methods to the `BufferedReader` trait.
2018-01-02buffered_reader: Allow the user to store data in a BufferedReader.Neal H. Walfield
- We want to associate some data with a BufferedReader instance. Because a BufferedReader points to another BufferedReader, we can't use a wrapper object. This change provides a mechanism to store any required data inside the actual `BufferedReader`. Note: this is a zero-cost abstraction. If no data needs to be stored, then there is no cost.
2017-12-13Split up Sequoia.Justus Winter
- Split up into six crates: buffered-reader, openpgp, sequoia-core, sequoia-ffi, sequoia-net, and sequoia-store. - Adjust imports accordingly.