Commit graph

617 commits

Author SHA1 Message Date
Jack Fletcher
acc6e9dc53 Merge branch 'master' into feature/supported-methods 2022-01-30 21:14:15 +00:00
Jack Fletcher
b444664d71 Apply formatter fixes 2022-01-30 20:39:43 +00:00
Jack Fletcher
083d95bcd1 Update SUPPORTED_METHODS const name 2022-01-30 20:37:46 +00:00
Alexander Zaitsev
1cd39fb43c
Merge pull request #203 from 49nord/master
Support AES decryption
2022-01-30 21:28:16 +03:00
Lireer
c8aece8f7b fix nightly clippy warnings in examples 2022-01-30 15:32:40 +01:00
Lireer
91745d5d27 use assert_eq instead of debug_assert_eq 2022-01-30 15:28:50 +01:00
Lireer
8f061f882b fix nightly clippy warning 2022-01-30 15:26:34 +01:00
Lireer
3d56021052 use hmac reset feature for finalize_reset method 2022-01-30 15:14:47 +01:00
Lireer
49f7501c5f add and use AES associated constant 2022-01-30 15:10:07 +01:00
Lireer
fddad8965d deduplicate aes testing code 2022-01-30 14:30:31 +01:00
Lireer
cfc74a558a use same SHA-1 crate with new name 2022-01-27 12:18:24 +01:00
Lireer
2e06844429 fix clippy warning and shorten links in tests 2022-01-26 14:53:19 +01:00
Lireer
85bb91fb50 update aes-crypto dependencies 2022-01-26 14:52:10 +01:00
Lireer
c17df86dbf test decryption of aes encrypted files 2022-01-25 22:07:53 +01:00
Lireer
3a71893711 run cargo fmt 2022-01-25 20:57:27 +01:00
Lireer
35d8f04496 "fix" clippy warnings 2022-01-25 20:42:51 +01:00
Lireer
bb97711761 explain trait guarantee violation of read impl 2022-01-25 20:39:22 +01:00
Lireer
d7f0a182b6 Merge remote-tracking branch 'zip-rs/zip/master' 2022-01-25 17:48:45 +01:00
Jack Fletcher
c5cfb27b6c Merge branch 'feature/end-to-end-tests-only' into feature/supported-methods 2022-01-24 20:17:33 +00:00
Jack Fletcher
2d752acecf Use SUPPORTED_METHODS in tests 2022-01-24 20:06:12 +00:00
Jack Fletcher
31c5fe8169 Add SUPPORTED_METHODS constant 2022-01-24 20:05:54 +00:00
Jack Fletcher
772ab59471 Merge branch 'master' into feature/end-to-end-tests-only 2022-01-24 18:31:14 +00:00
Jack Fletcher
7a630e21b3 Sync changes from upstream 2022-01-24 18:13:33 +00:00
Alexander Zaitsev
923c583227
Merge pull request #269 from zip-rs/docs/add_discord_server
fix: change Discord badge
2022-01-24 20:09:44 +03:00
Alexander Zaitsev
f6074882af fix: change Discord badge
- change Discord badge since the previous one was wrong
2022-01-24 20:08:21 +03:00
Alexander Zaitsev
c090846218
Merge pull request #268 from zip-rs/docs/add_discord_server
doc: add Discord link
2022-01-24 20:01:02 +03:00
Alexander Zaitsev
e678b6add1 doc: add Discord link
- add link to the Discord chat
2022-01-24 19:49:42 +03:00
Alexander Zaitsev
afc84af4aa
Merge pull request #250 from linkmauve/no-thiserror
Remove dependency on thiserror
2022-01-23 23:58:29 +03:00
Plecra
37fb0c5df1
Update Cargo.toml 2022-01-23 17:39:27 +00:00
Plecra
cfe3bbfa26
Merge branch 'master' into no-thiserror 2022-01-23 17:36:27 +00:00
Alexander Zaitsev
d6e0c7dc68
Merge pull request #264 from zip-rs/fix/issue_252
fix: permissions are not copied
2022-01-23 20:30:57 +03:00
Alexander Zaitsev
5a4ca9557c fix: permissions are not copied
- fix a small bug when permissions where not copied
- add must_use attribute to the all FileOptions methods

Tested:
- No
2022-01-23 20:16:01 +03:00
Alexander Zaitsev
f331802a57
Merge pull request #261 from zip-rs/feature/add_zstd_compression
feat: add Zstandard compression
2022-01-23 19:22:23 +03:00
Alexander Zaitsev
63e714f622 Merge branch 'master' into feature/add_zstd_compression 2022-01-23 19:17:26 +03:00
Alexander Zaitsev
2583740d03
Merge pull request #262 from zip-rs/fix/polishing
fix: fix Clippy warnings
2022-01-23 19:11:14 +03:00
Alexander Zaitsev
113afbeafe fix: Clippy fix
- small Clippy fix from CI

Tested:
- No
2022-01-23 19:07:24 +03:00
Alexander Zaitsev
a5ae0bbe64 feat: add Clippy to CI
- enable Clippy on CI

Tested:
- No
2022-01-23 19:02:57 +03:00
Alexander Zaitsev
e636399935 fix: fix all Clippy warnings
- some warnings are muted since fixing them right now can be a breaking
  API change
- fix Clippy warns in the src, examples and tests

Tested:
- Local test run
2022-01-23 18:54:43 +03:00
Alexander Zaitsev
f956a2eb85 doc: veeeery small fix to CoC
- remove extra new line at the beggining of the file
2022-01-23 17:35:39 +03:00
Alexander Zaitsev
061cdf149f fix: fix Clippy warnings
- fix a bunch of Clippy warnings
- fix some usages of assert! (change to assert_ne)

Tested:
- Local unit-tests run
2022-01-23 17:35:27 +03:00
Alexander Zaitsev
0b82d905b3 feat: add Zstandard compression
- add dependency on zstd crate
- add zstd feature to Cargo.toml
- update README
- update example with Zstd
- add Zstd support to the library

Notes:
- This work is mainly based on this original PR: https://github.com/zip-rs/zip/pull/240

Tested:
- During the development of the original PR
2022-01-23 14:49:48 +03:00
Alexander Zaitsev
82cb917883
Merge pull request #251 from linkmauve/use-getrandom
Use getrandom instead of rand for benches
2022-01-23 13:34:09 +03:00
Alexander Zaitsev
4e71934b88
Merge pull request #259 from zip-rs/fix/issue_234
fix: add header offset overflow check
2022-01-23 13:32:58 +03:00
Alexander Zaitsev
f69ac34045
Merge branch 'master' into use-getrandom 2022-01-23 02:46:40 +03:00
Alexander Zaitsev
b053eb0f2c feat: add tests
- add tests for the large header

Tested:
- Local run
2022-01-23 02:43:04 +03:00
Alexander Zaitsev
6367be606e
Merge pull request #260 from zip-rs/fix/issue_219
fix: make zip-rs build on nightly compiler
2022-01-22 18:15:16 +03:00
Alexander Zaitsev
009d0cc0b4 fix: make zip-rs build on nightly compiler
- update dependencies for the compatibility with the nightly compiler

Tested:
- No
2022-01-22 17:59:25 +03:00
Alexander Zaitsev
8a666b102b fix: add header offset overflow check
- during the header offset calculation, perform overflow check

Tested:
- Local tests
2022-01-22 17:56:13 +03:00
Alexander Zaitsev
06b41010ea
Merge pull request #258 from zip-rs/feature/bump_msrv
feat: bump MSRV
2022-01-22 16:50:44 +03:00
Alexander Zaitsev
4a50d24b4d Merge remote-tracking branch 'origin/master' into feature/bump_msrv 2022-01-22 16:33:05 +03:00