Commit graph

665 commits

Author SHA1 Message Date
Alexander Zaitsev
23771411dc
feat: prepare 0.6.1 release
- update the version number in Cargo
- update the README file

Tested:
- No
2022-04-01 00:43:51 +03:00
Alexander Zaitsev
d00ad632a1
Merge pull request #293 from qu1x/fix-no-default-features
Fix build with `--no-default-features`.
2022-03-28 13:10:29 +03:00
Rouven Spreckels
9a32d129ff Fix build with --no-default-features. 2022-03-28 11:43:25 +02:00
Alexander Zaitsev
77294fd3ce
Revert "Merge pull request #290 from aweinstock314/more-spec-structs"
This reverts commit a1da6860ea, reversing
changes made to 574bb3df17.
2022-03-26 14:13:50 +03:00
Alexander Zaitsev
a1da6860ea
Merge pull request #290 from aweinstock314/more-spec-structs
Add `zip::spec::{CentralDirectoryHeader, DataDescriptor, LocalFileHea…
2022-03-26 02:13:28 +03:00
Alexander Zaitsev
574bb3df17
Merge pull request #289 from zip-rs/issue/281
docs: add a note about password handling
2022-03-26 00:44:45 +03:00
Alexander Zaitsev
d8cfb2fd81
Merge branch 'master' into issue/281 2022-03-26 00:38:59 +03:00
Alexander Zaitsev
448bbb7e3f
Merge pull request #288 from qu1x/fix-zip64
Fix ZIP64 write support.
2022-03-26 00:32:10 +03:00
Avi Weinstock
fc1007a5a4 Add round-trip serialization tests for zip::spec types. 2022-03-25 14:34:01 -04:00
Avi Weinstock
45a98c01b9 Cargo fmt and cargo clippy fixes. 2022-03-25 14:10:44 -04:00
Avi Weinstock
993cbcdc5c Add zip::spec::{CentralDirectoryHeader, DataDescriptor, LocalFileHeader}, and partially integrate them into zip::{read, write}. 2022-03-25 14:10:10 -04:00
Rouven Spreckels
00c1199dbe Use ZIP64_BYTES_THR and ZIP64_ENTRY_THR. 2022-03-25 16:01:56 +01:00
Alexander Zaitsev
7fa870c3b7
Merge branch 'master' into issue/281 2022-03-25 17:19:13 +03:00
Alexander Zaitsev
b0306318f1
docs: add a note about password handling 2022-03-25 17:13:19 +03:00
Rouven Spreckels
e9706ae4f5 Fix ZIP64 write support. 2022-03-25 12:53:18 +01:00
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