-
Notifications
You must be signed in to change notification settings - Fork 228
Allow custom DEFLATE compression level #212
Comments
That's right, we don't support compression configuration just yet. Our backwards compatibility guarantees prevent us from adding it to the current API, so it'll need to be properly added in the next release. That said, this would at least be possible with the raw reading API we're adding. Would that be any help for you? |
It may be, but i feel like i'm not getting it. How would this help me with creating a zip file? |
It doesn't 😅 I misunderstood what you were doing. Annoyingly, there's quite a lot of bookkeeping involved that I can't simply factor out. I don't expect this to be solved before the new year. |
+1 on that this would be a great addition. Are there any updates on the status? |
+1, we would need this to solve ouch-org/ouch#52. @Plecra could you give a status update on this? How hard is it to implement? I'd probably be able to help by the end of this year depending on the difficulties involved. |
It sure does! These days, |
I'm compressing a massive text file using this crate, which takes a lot of time using
FileOptions::default()
. I experimented with 7z, and setting the compression level to 1 produces almost the same filesize, but is significantly faster.However, It seems like the compression level can't be set using this crate. Is this correct?
The text was updated successfully, but these errors were encountered: