Commit graph

115 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
70696f57c1 Remove dependency on thiserror
On my computer, this halves the total build time from 11.7s to 5.4s, as
well as the total size of the artifacts in target.

This derive macro is nice, but it doesn’t justify the increase in
compilation time for dependent crates imo.

This effectively reverts #135, although using the up to date APIs from
std::error::Error.
2021-09-06 23:35:57 +02:00
Marli Frost
7edf2489d5
release 0.5.13 2021-06-04 19:41:03 +01:00
Marli Frost
3fd44ffd5d
Merge pull request #200 from qu1x/support-extra-field 2021-05-11 11:18:17 +01:00
Marli Frost
8ecbdb1870
chore: update to bzip 0.4 2021-04-19 12:29:19 +01:00
Marli Frost
88e6f87884
chore: release 0.5.12 2021-04-16 16:59:20 +01:00
Plecra
2d99f88870
Merge pull request #222 from mbrubeck/flate2
Allow flate2 >1.0.14
2021-04-16 16:58:37 +01:00
Marli Frost
08adaa5fbf
publish 0.5.11 2021-03-01 12:06:16 +00:00
Dirk Stolle
2b126be60b fix repository URL in Cargo.toml 2021-02-14 19:31:10 +01:00
Marli Frost
5420f8aa3d
docs: update Cargo.toml for new project 2021-02-14 12:32:05 +00:00
Matt Brubeck
c0ef84dd4e Allow flate2 >1.0.14
flate2 was pinned to versions <= 1.0.14 in #175, because flate2 updated
to a new version of miniz_oxide which increased its MSRV (#170,
Frommi/miniz_oxide#85).

This was fixed in Frommi/miniz_oxide#95, so all published versions of
flate2 can once agoin be built with Rust 1.34.0.
2021-02-11 11:18:29 -08:00
Rouven Spreckels
e42c021448 Merge branch 'master' into support-extra-field 2021-02-04 11:40:38 +01:00
Marli Frost
229fe94bdf chore: publish 0.5.9 2020-12-06 23:37:48 +00:00
Rouven Spreckels
9397773a32 Add ZIP64 write support. 2020-10-03 11:05:23 +02:00
Marli Frost
9884c68315
chore: Publish 0.5.8 2020-09-10 11:44:48 +01:00
Marli Frost
d4b93b6895
chore: publish 0.5.7 2020-09-04 19:13:27 +01:00
Plecra
2963addaaa
docs: Explain version limits 2020-07-10 11:36:49 +01:00
Marli Frost
52c8dfed56
chore: pin the flate2 version for now 2020-07-08 12:38:32 +01:00
Michel Alexandre Salim
618a25d372 Bump walkdir dependency
Walkdir 2.3.1 is out; the zip crate works fine with the new version:

https://crates.io/crates/walkdir
https://koji.fedoraproject.org/koji/buildinfo?buildID=1534463

Signed-off-by: Michel Alexandre Salim <michel@michel-slm.name>
2020-06-28 09:36:59 -07:00
dependabot-preview[bot]
ecea08863b
Update rand requirement from 0.4 to 0.7
Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/rand_core-0.4.0...0.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-26 15:45:16 +00:00
Marli Frost
7ff565aacb
feat: loosen byteorder version requirement 2020-06-17 17:11:36 +01:00
Marli Frost
9ed6904383
refactor: replace the podio crate with byteorder 2020-06-16 18:59:13 +01:00
Ryan Levick
cefa8cd2f2
Merge pull request #135 from stchris/use-thiserror
Use thiserror's Derive macro
2020-06-15 14:22:58 +02:00
Christian Stefanescu
18bece201c Use thiserror's Derive macro 2020-06-15 10:16:36 +02:00
Mathijs van de Nes
a973913ebd Bump version 2020-06-13 17:26:28 +02:00
Mathijs van de Nes
85153ecd4b Bump version 2020-03-01 13:50:57 +01:00
Mathijs van de Nes
59ef020918 Bump version 2020-01-06 22:28:38 +01: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
a872278429 Bump version 2019-08-14 20:47:45 +02:00
jonpas
c82a635c5c Default deflate to flate2/rust_backend (miniz_oxide) 2019-06-20 16:29:16 +02:00
jonpas
14f77b390a Use deflate as feature name 2019-06-17 21:36:38 +02:00
jonpas
b171b915f8 Switch to flate2 2019-06-14 15:25:00 +02:00
Mathijs van de Nes
cdbdc008fc Allow a Path to be used as a file/directory name
Instead of using string directly, also accept a Path object. This moves
the responsibility from using the correct path separator and not using
invalid path components to this library.
2019-04-06 16:30:02 +02:00
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