Commit graph

63 commits

Author SHA1 Message Date
Don Rowe
a63b7315d0 Implement Display trait for CompressionMethod.
It's an alias to the Debug format, but we can't derive Display yet,
so we associate it explicitly.
2016-10-03 21:18:29 -07:00
Mathijs van de Nes
2a3fe099a6 Derive Debug for read::ZipArchive
Resolves #15
2016-08-08 17:34:02 +02:00
Mathijs van de Nes
7db32c9165 Remove unused parentheses 2016-02-02 21:17:42 +01:00
Alexander Bulaev
2addfa8b81 Made bzip2 compression method optional 2015-10-05 20:01:41 +03:00
Mathijs van de Nes
0ab2b0a427 Derivy Clone where Copy 2015-04-03 14:55:27 +02:00
Mathijs van de Nes
aa8acab465 Do not switch compression if not needed 2015-03-17 17:22:30 +01:00
Mathijs van de Nes
1b63377d69 Remove Clone from CompressionMethod
Copy ought to be enough
2015-03-16 10:51:23 +01:00
Mathijs van de Nes
c4cf221f70 Save the unsupported value of CompressionMethod 2015-03-16 10:47:16 +01:00
Mathijs van de Nes
c7df8157a9 Removed unsupported compression methods from enum
- Simplified enum to only show supported values
- Removed use of FromPrimitive
2015-03-16 10:34:48 +01:00
Mathijs van de Nes
d9b83af57c Large refactoring, mostly of the reader
- Combined reader and reader_spec into read
- Alter the iteration protocol for a zip archive
- Modify some names
2015-03-01 11:32:40 +01:00
Mathijs van de Nes
f45a558dac change #[deriving(..)] to #[derive(..)] 2015-01-04 10:51:14 +01:00
Mathijs van de Nes
22580a768d Implement copy where needed 2014-12-13 14:11:52 +01:00
Mathijs van de Nes
0cd915f185 Split compression from types and pub use ZipFile 2014-09-15 21:33:58 +02:00