Commit graph

471 commits

Author SHA1 Message Date
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
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
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
Marli Frost
4eba55cb7a
refactor: use deprecated API in tests 2020-08-19 13:59:48 +01:00
Marli Frost
d92a06adec
docs: deprecate poor Path sanitization 2020-08-19 13:53:21 +01:00
Marli Frost
599640c1eb
docs: remove redundant example 2020-08-19 13:52:46 +01:00
Marli Frost
bebecb8301
docs: use more descriptive language 2020-08-19 13:52:27 +01:00
Marli Frost
e8eb019e99
docs: simplify doctest 2020-08-19 13:51:50 +01:00
Marli Frost
8f36598cac
refactor: use deprecated API in example 2020-08-19 13:36:35 +01:00
Marli Frost
54e532f26e
fix: arrays aren't io::Write 2020-08-19 13:36:17 +01:00
Marli Frost
33cd959b11
docs: elaborate on purpose of crate 2020-08-19 13:33:37 +01:00
Marli Frost
4091167222
docs: simplify test 2020-08-19 13:29:39 +01:00
Marli Frost
33de808d0f
docs: use more descriptive langauge 2020-08-19 13:29:39 +01:00
Marli Frost
0e482afe2e
docs: the default comment was removed 2020-08-19 13:29:39 +01:00
Marli Frost
f86c310fdc
docs: deprecate Path handling methods
These methods were implemented in a non-intuitive way that could easily
lead to bugs. They may be replaced in a future release
2020-08-19 13:29:36 +01:00
Marli Frost
df8f377f92
docs: warn users about DateTime implementation 2020-08-19 12:21:48 +01:00
Marli Frost
f508aac0cd
docs: elaborate on usage of CompressionMethod 2020-08-19 12:20:43 +01:00
Ryan Levick
62dc40678e
Merge pull request #177 from nickbabcock/overflow
Fix overflow in directory counts of ZIP64 files
2020-08-19 11:54:39 +02:00
nickbabcock
ef5ce23d85 Fix overflow in directory counts of ZIP64 files 2020-08-10 21:22:49 -05:00
Ryan Levick
fbffaed42a
Merge pull request #175 from mvdnes/pin-flate2
chore: pin the flate2 version for now
2020-07-14 14:02:21 +02: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
Plecra
97fe9d5a5b
Merge pull request #172 from mvdnes/code-of-conduct
Add a code of conduct
2020-07-03 07:44:40 +01:00
Ryan Levick
5e7e9d37b3 Add a code of conduct 2020-07-02 16:13:26 +02:00
Ryan Levick
b640135bbc
Merge pull request #166 from mvdnes/dependabot/add-v2-config-file
Create Dependabot config file
2020-07-02 16:09:13 +02:00
Plecra
34b5f3fe27
Merge pull request #169 from michel-slm/bump-dep
Bump walkdir dependency
2020-06-30 09:18:19 +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
Ryan Levick
53725bbcdd
Merge pull request #167 from mvdnes/dependabot/cargo/rand-0.7
Update rand requirement from 0.4 to 0.7
2020-06-26 19:43:51 +02: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
dependabot-preview[bot]
cbe9172e56
Create Dependabot config file 2020-06-26 15:44:58 +00:00
Plecra
510f1cce7b
Merge pull request #116 from zacps/extract
Add function to extract a all files in an archive to a directory
2020-06-26 09:32:46 +01:00
Zac Pullar-Strecker
a3aac29e85 switch extract from dynamic to static dispatch 2020-06-26 10:53:57 +12:00
Zac Pullar-Strecker
080292c6c3 Add doc comment about extract bailing without cleanup 2020-06-24 10:16:27 +12:00
Plecra
f99cdd0fb4
Merge pull request #115 from BenjaminRi/pkzip-cipher
Add ZipCrypto reading support
2020-06-23 21:50:15 +01:00
Benjamin Richner
0b077c4baf Fixed and improved docstrings, added module level documentation 2020-06-23 22:20:16 +02:00
Benjamin Richner
2730ca7e76 Turned clumsy if statements into matcher clause 2020-06-23 21:44:26 +02:00
Benjamin Richner
9e2b14f368 Create meaningful panic messages in ZipCrypto test 2020-06-23 21:35:59 +02:00
Benjamin Richner
4737f145ff Use b prefix instead of as_bytes() 2020-06-23 21:28:34 +02:00
Benjamin Richner
d4100190e5 run cargo fmt 2020-06-23 21:23:36 +02:00