Commit graph

750 commits

Author SHA1 Message Date
Alexander Zaitsev
4aafe04be6
Merge pull request #285 from qu1x/fix-targets-without-atomic-64
Fix targets without 64-bit atomics.
2022-03-25 11:50:07 +03:00
Alexander Zaitsev
cdcef7db09
Merge pull request #286 from barsgroup/add-compression-level
Add support for specifying compression level
2022-03-25 11:49:44 +03:00
Дмитрий Кальянов
e8dabec5b6 Add support for specifying compression level 2022-03-23 13:06:28 +03:00
Rouven Spreckels
1f8c642558 Fix targets without 64-bit atomics. 2022-03-21 16:39:52 +01:00
Marli Frost
2be9ae871f release: 0.6 2022-03-20 20:51:16 +00:00
Marli Frost
de8a9c5998 fix: remove Shared from public API 2022-03-20 19:01:43 +00:00
Alexander Zaitsev
25a5b4e4ba
Merge pull request #265 from zip-rs/explainer
Picking the low-hanging documentation fruit
2022-03-08 18:23:21 +03:00
Alexander Zaitsev
ca60821c0a merge: Merge branch 'master' into explainer 2022-03-08 18:13:34 +03:00
Alexander Zaitsev
3f444feeab
Merge pull request #277 from zip-rs/feature/0.6.0-release_-preparation
fix: release preparation
2022-03-08 12:17:57 +03:00
Alexander Zaitsev
2009d162fb
Merge pull request #278 from fujiapple852/fix-minimal-versions
Fix minimal versions
2022-02-28 11:41:18 +03:00
FujiApple
3b611e6e36 build!: update all dependencies (except aes) to the latest versions 2022-02-28 12:28:59 +08:00
FujiApple
72a633d367 build: specify precise dependency versions in Cargo.toml 2022-02-28 12:22:30 +08:00
FujiApple
ee7cc69b70 fix: minimal version updates to bzip2, flate2, hmac & time to allow the crate to compile with Cargo minimal-versions 2022-02-28 12:20:23 +08:00
Alexander Zaitsev
c7b599c1fe
fix: release preparation
- mark CompressionMethod enum as non-exhaustive
- add again Aes to enum

Tested:
- Local unit-tests run
2022-02-17 21:42:56 +03:00
Alexander Zaitsev
a9e1436655
Merge pull request #276 from a1phyr/cheap_clone
Make `ZipArchive` cheap to clone
2022-02-07 13:53:46 +03:00
Alexander Zaitsev
9f5e46f63b
Merge pull request #274 from 49nord/fix-273
remove `CompressionMethod::Aes` enum variant
2022-02-07 13:52:01 +03:00
Benoît du Garreau
214afdee81 Update doc comment 2022-02-06 23:29:35 +01:00
Alexander Zaitsev
0f5fa36025
Merge pull request #272 from kauhat/feature/end-to-end-all-methods
Test all compression methods in end to end test
2022-02-05 23:44:50 +03:00
Benoît du Garreau
addfe01eb0 Make ZipArchive cheap to clone 2022-02-05 16:08:55 +01:00
Alexander Zaitsev
478501289a
Merge pull request #271 from kauhat/feature/supported-methods
Add SUPPORTED_COMPRESSION_METHODS constant
2022-01-31 22:32:06 +03:00
Lireer
aa6adcb1c0 remove CompressionMethod::Aes enum variant 2022-01-30 22:40:31 +01:00
Jack Fletcher
a91736a356 Merge branch 'feature/supported-methods' into feature/end-to-end-all-methods 2022-01-30 21:26:45 +00:00
Jack Fletcher
acc6e9dc53 Merge branch 'master' into feature/supported-methods 2022-01-30 21:14:15 +00:00
Jack Fletcher
0330f4707b Update end to end methods import 2022-01-30 20:50:12 +00:00
Jack Fletcher
b4224503d5 Merge branch 'feature/supported-methods' into feature/end-to-end-all-methods 2022-01-30 20:43:44 +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
Jack Fletcher
5aa0b601c9 Add expected data param to test fn check_archive_file 2022-01-27 00:51:19 +00:00
Jack Fletcher
4cb2067019 Update test helper function names 2022-01-27 00:12:17 +00:00
Jack Fletcher
161308c673 Add comments to test helpers 2022-01-26 23:47:40 +00:00
Jack Fletcher
6711ac91a8 Fix linter warnings 2022-01-26 22:21:17 +00: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
6dcadff21d Add test changes from other branch 2022-01-24 20:32:22 +00: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