Benjamin Richner
80f4c43369
Add Info-ZIP password validation
2021-05-02 04:02:50 +02:00
Marli Frost
465e7cebd6
fix: update CI to MSRV 1.36.0
...
*I could've sworn I did this already*
2021-04-19 12:32:20 +01:00
Marli Frost
8ecbdb1870
chore: update to bzip 0.4
2021-04-19 12:29:19 +01:00
Plecra
ce272616ac
Merge pull request #215 from Contextualist/append
...
Support append to an existing archive
2021-04-19 12:06:26 +01:00
Marli Frost
44352aa34b
fix: allow non-utf8 comments in ZipWriter
2021-04-19 12:02:32 +01:00
Plecra
92799661a7
Merge pull request #231 from a1phyr/remove_archive_bounds
...
Remove `io::Read + io::Seek` bound to `ZipArchive`
2021-04-19 11:50:41 +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
Benoît du Garreau
7a05b1a783
Remove io::Read + io::Seek
bound to ZipArchive
2021-04-10 14:13:57 +02:00
Marli Frost
08adaa5fbf
publish 0.5.11
2021-03-01 12:06:16 +00:00
zhanghar
32b2f5b483
refactor: use iterator for file list init
2021-02-25 23:54:20 -05:00
zhanghar
4ce5791164
chore: use pub(crate) for header parsing
...
used internally by the appendable ZipWriter
2021-02-25 23:50:31 -05:00
Plecra
5290d687b2
Merge pull request #224 from striezel/fix-repository-url
...
fix repository URL in Cargo.toml
2021-02-24 21:29:44 +00:00
Dirk Stolle
2b126be60b
fix repository URL in Cargo.toml
2021-02-14 19:31:10 +01:00
Marli Frost
f02ad80c70
docs: update links to documentation
2021-02-14 12:37:29 +00: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
zhanghar
10da026ff6
feat: support append to an existing archive
2020-12-23 14:37:09 -05:00
Marli Frost
229fe94bdf
chore: publish 0.5.9
2020-12-06 23:37:48 +00:00
Marli Frost
26710ee8a5
feat: read raw content of files
2020-12-06 23:36:41 +00:00
Plecra
f5061c25e9
Merge pull request #178 from davide-romanini/forgive-after-comment-junk
...
Allow for garbage after comment data
2020-11-15 21:32:38 +00:00
Plecra
b3c32794cd
Merge pull request #207 from ZaMaZaN4iK/master
...
Fix typo in README
2020-11-15 18:13:43 +00:00
Plecra
4d8a068495
Merge pull request #98 from robmv/feature-copy
...
Add new APIs that allow copying zip file entries between zip files
2020-11-15 16:20:53 +00:00
Plecra
d72e67a6e0
Merge pull request #209 from zip-rs/compression-constants
...
Provide constants for valid variants of CompressionMethod
2020-11-15 15:05:58 +00: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
b9f2d9419a
docs: add github actions to readme
2020-11-10 17:36:42 +00:00
Plecra
5a053cdccb
Merge pull request #198 from zip-rs/path-sanitization
...
Reintroduce Path Sanitization
2020-11-10 16:41:57 +00:00
Marli Frost
105368aebf
docs: improve explanation of new APIs
2020-11-10 16:37:14 +00:00
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
Alexander Zaitsev
219bb9b67c
Fix typo in README
...
Just a very-very-very-very small fix in README :)
2020-10-30 19:11:00 +03:00
Marli Frost
33a787ec54
fix: overlapping borrows on unix platforms
...
When cfg(unix), the `outpatj` meeded to last until the
`set_permissions` call, but it can't exist during the `io::copy`
2020-09-12 11:10:19 +01:00
Marli Frost
d0e905acc5
feat: provide archive extraction API
2020-09-12 11:03:11 +01:00
Marli Frost
a35c8ffa91
chore: update tests to use preferred method
2020-09-12 10:51:43 +01:00
Marli Frost
103003388c
feat: implement a defensive sanitisation strategy
2020-09-12 10:51:23 +01:00
Marli Frost
fb5105725f
refactor: reintroduce path sanitization strategy
...
I've documented the drawbacks of this strategy to make sure users are
aware of the tradeoff being made.
2020-09-12 10:45:53 +01:00
Marli Frost
9884c68315
chore: Publish 0.5.8
2020-09-10 11:44:48 +01:00
Plecra
e7502199f9
Merge pull request #197 from mvdnes/unbreak-0.5
...
Remove breaking changes in 0.5.7
2020-09-10 11:42:53 +01:00
Plecra
c05982e065
Merge pull request #196 from mvdnes/expose-central
...
Expose the location of the central header
2020-09-10 11:42:40 +01:00
Marli Frost
5e5bd86915
refactor: remove extra variants from ZipError
2020-09-10 10:21:47 +01:00
Marli Frost
f863497e9b
feat: expose the location of the central header
2020-09-10 09:34:24 +01:00
Plecra
63a3e89ef8
Merge pull request #195 from mvdnes/error-impl
...
Reintroduce error impl
2020-09-09 19:25:30 +01:00
Ryan Levick
5a2e36df8c
Reintroduce error impl
2020-09-09 15:43:18 +02:00
Marli Frost
d4b93b6895
chore: publish 0.5.7
2020-09-04 19:13:27 +01:00
Plecra
6fc6b9c284
Merge pull request #182 from mvdnes/extra-docs
...
Preparing for 0.5.7
2020-09-02 20:45:04 +01:00
Marli Frost
9d978e3c51
docs: remove clutter from doctest
2020-08-26 15:15:04 +01:00
Marli Frost
25d479e65d
chore: remove dead code for 0.5.7
2020-08-25 22:05:56 +01:00
Marli Frost
1be80f12de
docs: add reference to GitHub issue
2020-08-25 22:01:12 +01:00
Davide Romanini
5eefdf8271
add test for handling comment garbage
2020-08-19 18:53:58 +02:00
Marli Frost
0b46263eac
fix: ZipArchive::extract incomplete
...
Path sanitization needs to be implemented before we can make this public
2020-08-19 15:12:35 +01:00