Commit graph

10 commits

Author SHA1 Message Date
Robert Marcano
5843d17d4c Add new APIs that allow copying zip file entries between zip files
The copy is done directly using the raw compressed data, avoiding
decompression and recompression.
2020-11-03 12:57:58 -04:00
Marli Frost
2f0e14574e refactor: make crate 1.34.0 compatible 2020-06-23 16:21:10 +01:00
Ryan Levick
ebb07348ee Run cargo fmt 2020-06-15 10:44:39 +02:00
Manu Thambi
91c93579f2 Added ZipArchive::file_names() method to return an iterator of all the file names
in the archive.

Using ZipArchive::by_index() to obtain a list of files is slow, if the files are
not read, because it creates the decompressor internally before returning ZipFile.

Fixes #122
2020-01-14 09:58:12 -05:00
Lachezar Lechev
29517e9a6b
run cargo fix --edition-idioms and manually fix other things 2019-11-11 09:20:31 +02:00
Michael Lamparski
907e13b5b6 impl Default for write::FileOptions 2019-07-22 13:24:34 -04:00
Mathijs van de Nes
5d0f198124 Rename all tests in tests folder
Using the name 'main' was confusing
2019-04-06 17:59:04 +02:00
camchenry
59075de36a Revert to Vec<u8> owned by cursor 2018-10-15 12:06:54 -04:00
camchenry
19250df9e9 Change end-to-end test to use &[u8] instead of Vec<u8> 2018-10-13 18:40:06 -04:00
camchenry
a8b5210487 Add end-to-end test 2018-10-13 18:16:12 -04:00