Commit graph

547 commits

Author SHA1 Message Date
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
Davide Romanini
b91f48a224 fix fmt 2020-08-13 15:53:38 +02:00
Davide Romanini
5c4f0906f8 allow for garbage after comment data 2020-08-13 13:02:53 +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
Benjamin Richner
76777350da Add space between comment and // 2020-06-23 21:22:47 +02:00
Benjamin Richner
4f36a27c32 Use matcher clause instead of clumsy if expressions 2020-06-23 21:20:30 +02:00
Benjamin Richner
fb4f3c5c21 Rename by_name_internal to by_name_with_optional_password and by_index_internal to by_index_with_optional_password 2020-06-23 21:17:52 +02:00
Benjamin Richner
07caeca6ea Use let .. = &mut instead of let ref mut .. = 2020-06-23 21:12:36 +02:00
Benjamin Richner
d50dcaced7 run cargo fmt 2020-06-23 20:46:41 +02:00
Benjamin Richner
dbae003aca Merge improvements from master 2020-06-23 20:44:18 +02:00
Plecra
8a6ca63728
Merge pull request #149 from piotrmaks/any-flate2-backend
Enable deflated compression method for any flate2 backend
2020-06-23 18:52:52 +01:00
Plecra
a43661c197
chore: apply formatting 2020-06-23 17:41:27 +01:00
Plecra
e123567862
Merge branch 'master' into any-flate2-backend 2020-06-23 16:51:15 +01:00
Plecra
f5d7b6c895
Merge pull request #159 from mvdnes/define-msrv
Define the crate's MSRV
2020-06-23 16:34:30 +01:00
Marli Frost
2f0e14574e refactor: make crate 1.34.0 compatible 2020-06-23 16:21:10 +01:00
Marli Frost
6e652446dd feat: define the crate's MSRV 2020-06-23 15:48:50 +01:00
Plecra
7f3b39f76f
Merge pull request #155 from JeremyAube/remove-default-comment
Removed the default zip comment
2020-06-21 22:58:26 +01:00
Jeremy Aube
d382f04e5a Change default comment to String::new() and fixed tests 2020-06-21 12:38:36 -04:00
Benjamin Richner
493afdbee1 run cargo fmt 2020-06-21 17:47:08 +02:00
Benjamin Richner
bd3ed222ac Merge improvements from master 2020-06-21 17:43:40 +02:00
Jeremy Aube
061a58cf7d Removed the default zip comment for ZipWriter to an empty string 2020-06-21 11:38:39 -04:00
Ryan Levick
a2ba5fb280
Merge pull request #150 from mvdnes/deprecation
Add deprecation warnings to potentially narrow the API
2020-06-20 11:50:48 +02: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
Ryan Levick
3756142e29
Merge pull request #148 from mvdnes/byteorder-port
Use the byteorder crate for Endianness handling
2020-06-17 18:35:44 +02:00
Marli Frost
7ff565aacb
feat: loosen byteorder version requirement 2020-06-17 17:11:36 +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
Marli Frost
9ed6904383
refactor: replace the podio crate with byteorder 2020-06-16 18:59:13 +01:00