Commit graph

83 commits

Author SHA1 Message Date
Mathijs van de Nes
d1a0a7d472 Require at libflate >= 0.1.21
libflate 0.1.21 fixes an issue in which certain deflate streams where
unreadable by Windows.

Resolves #99
2019-03-10 14:07:36 +01:00
Mathijs van de Nes
3d61d9cd8a Publish version 0.5.0
Changes include:
* Switched to a different deflate (de)compressor
* New DateTime api, removing default dependencies on time and msdos_time
2018-11-17 12:10:31 +01:00
Mathijs van de Nes
f94d4b7a78 Change date api
Remove msdos_time dependency, and introduce simplified DateTime object.
This object does bounds checking to see if dates are representable in
msdos.
2018-11-17 10:26:25 +01:00
Sam Rijs
8ae6d81ab9 use crc32fast crate for checksumming 2018-11-14 00:44:34 +11:00
Sam Rijs
2b42b0219b add read_entry benchmark 2018-11-13 23:55:59 +11:00
Mackenzie Clark
efd1ac69cb newline 2018-11-09 16:23:49 -08:00
Mackenzie Clark
c05b6c2317 add libflate feature 2018-11-04 10:12:21 -08:00
Mathijs van de Nes
3e532d8ef3 Update readme and bump version 2018-06-22 15:28:18 +02:00
Mathijs van de Nes
9b0a6930d4 Update example and bump version to 0.4.1 2018-06-20 22:19:03 +02:00
Mathijs van de Nes
2212ca1476 New point release 0.4.0
The feature flags have been changed to allow better control over the
deflate implementation.
2018-05-27 10:34:21 +02:00
Mathijs van de Nes
39ccaab76c Merge branch 'flate2-backends' of https://github.com/alexbool/zip-rs 2018-05-27 10:33:52 +02:00
Mathijs van de Nes
362f12dc9b Bump version 2018-05-22 23:37:19 +02:00
Alexander Bulaev
fee626ba59 Control backend choice of flate2 2018-05-19 20:03:23 +03:00
Mathijs van de Nes
140021173a Bump version 2018-04-20 13:42:05 +02:00
Mathijs van de Nes
34b7502a7d Bump version and update README 2018-02-17 20:11:59 +01:00
Mathijs van de Nes
02b80d2040 Publish 0.3.0 due to breaking changes
The change of default features may brake some projects.
2018-01-15 18:51:03 +01:00
Mathijs van de Nes
5cbdf56c4d Bump version 2018-01-09 18:43:37 +01:00
Mathijs van de Nes
b2db9d55ae Merge branch 'deflate_feature' of https://github.com/jhwgh1968/zip-rs 2018-01-09 18:38:27 +01:00
Mathijs van de Nes
6a31154681 Update README and bump version 2018-01-09 17:59:53 +01: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
Mathijs van de Nes
6808962143 Bump version 2018-01-06 12:06:58 +01:00
Mathijs van de Nes
50b57f4e37 Always use rust backend of flate2
Also fixes compiling with --no-default-features
2018-01-06 11:44:28 +01:00
rardiol
22194687c6 use flate2 1.0 2018-01-01 17:12:41 -03:00
Bob Sun
c7e4ac0c2f Provide the rust_backend feature 2018-01-01 17:10:59 -03:00
Mathijs van de Nes
5719d687db Bump version 2017-08-17 18:27:53 +02:00
Mathijs van de Nes
5a123f2767 Bump version 2017-07-05 21:37:24 +02:00
king6cong
e524388fe7 add zip directory example 2017-07-02 19:51:38 +08:00
Mathijs van de Nes
5c12e511d1 Bump version 2017-05-28 12:29:19 +02:00
Mathijs van de Nes
95f311fd3e Bump version 2017-03-30 19:21:09 +02:00
Mathijs van de Nes
da4d8080c5 Bump version 2017-03-06 21:26:11 +01:00
Mathijs van de Nes
1831edbbdd Expose the raw file name of a file
We still do most operations with normal Strings, but a user can now also get the raw bytes.

Resolves #26
2017-02-12 17:18:40 +01:00
Mathijs van de Nes
d2d19f6539 Update the write API
This change adds a FileOptions struct. This struct can be filled using a builder pattern
to set the options for a file or folder.

With this change, we also introduce the option to set the (unix) permissions of a file or folder.
2016-10-30 09:09:50 +01:00
Mathijs van de Nes
e747fcd779 Bump version 2016-10-07 09:22:18 +02:00
Mathijs van de Nes
b1f7a49337 Bump version 2016-08-08 17:44:34 +02:00
Mathijs van de Nes
078d717c7b Bump version 2016-04-23 20:48:15 +02:00
Mathijs van de Nes
d95c925ac2 Let ZipWriter::finish be called without consuming
Resolves #10
2016-02-22 19:54:18 +01:00
Mathijs van de Nes
aaa49eb4f1 Update to new bzip2 2016-02-22 19:46:07 +01:00
Mathijs van de Nes
e47e6096fd Bump version 2015-12-06 11:04:20 +01:00
Mathijs van de Nes
55396243d7 Bump version and add Cargo.toml to README 2015-10-05 22:07:36 +02:00
Alexander Bulaev
066c0f84ed Remove no-bzip feature because it doesn't work as I expected 2015-10-05 21:29:36 +03:00
Mathijs van de Nes
ef52f86dbc Bump version 2015-10-05 19:33:50 +02:00
Alexander Bulaev
2addfa8b81 Made bzip2 compression method optional 2015-10-05 20:01:41 +03:00
Mathijs van de Nes
8afc0a7a7c Bump version 2015-09-03 09:15:09 +02:00
Mathijs van de Nes
e528d7af04 Bump version 2015-07-20 16:09:13 +02:00
Mathijs van de Nes
0e274281dd Use external crate to convert an MsDos datetime 2015-07-20 16:08:33 +02:00
Mathijs van de Nes
fe40b4ace1 Disable date/time normalization
The method may panic on Windows. Passing invalid dates is more preferable than correcting the date.
2015-07-13 17:29:10 +02:00
Mathijs van de Nes
6b0dec58fa Add extra info to Cargo.toml 2015-07-02 10:18:06 +02:00
Mathijs van de Nes
1202cbbcd2 Update version numbers 2015-06-30 09:43:51 +02:00
Mathijs van de Nes
1ce0b92605 Update version numbers 2015-05-25 09:46:23 +02:00