Commit graph

30 commits

Author SHA1 Message Date
Steve Myers
0ee34bd105
Bump MSRV to 1.52.0 and fix cargo fmt and doc 2021-10-25 10:31:46 -07:00
Marli Frost
ac4f5b3ef5 fix: remove enum aliases
this feature is unstable on 1.34.0
2020-11-15 14:47:02 +00:00
Marli Frost
b20ada4427 feat: provide constants for compression methods 2020-11-15 14:38:51 +00:00
Marli Frost
f508aac0cd
docs: elaborate on usage of CompressionMethod 2020-08-19 12:20:43 +01:00
Plecra
e123567862
Merge branch 'master' into any-flate2-backend 2020-06-23 16:51:15 +01:00
Marli Frost
2f0e14574e refactor: make crate 1.34.0 compatible 2020-06-23 16:21:10 +01:00
Marli Frost
e8f576e179
chore: allow internal use of deprecated items 2020-06-17 18:20:40 +01:00
Marli Frost
548db12b07
docs: deprecate unnecessary API 2020-06-17 17:36:34 +01:00
Piotr Maks
d1bdd552e9 Enable deflated compression method for any flate2 backend
Allow using other than default flate2 backend for deflated compression 
method. The motivation for this change was to allow using different 
backends in dependent crates.
2020-06-17 07:23:32 +02:00
Ryan Levick
ebb07348ee Run cargo fmt 2020-06-15 10:44:39 +02:00
Lachezar Lechev
29517e9a6b
run cargo fix --edition-idioms and manually fix other things 2019-11-11 09:20:31 +02:00
Mathijs van de Nes
57c8444d8e Simplify test code of compression 2019-04-06 17:58:12 +02:00
Mackenzie Clark
c05b6c2317 add libflate feature 2018-11-04 10:12:21 -08:00
Alexander Bulaev
fee626ba59 Control backend choice of flate2 2018-05-19 20:03:23 +03:00
jhwgh1968
7c2d4e2901 Named the deflate algorithm feature gate "deflate" 2018-01-07 13:39:42 -06:00
jhwgh1968
19274b497a Made deflate compression into separate feature 2018-01-07 00:47:11 -06:00
Don Rowe
1075ebf5f4 Add test for Display implementation for CompressionMethod 2016-10-03 21:34:14 -07:00
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