Alexander Zaitsev
679f0fdb08
Merge pull request #302 from PJB3005/22-04-11-improve-seek
...
Use Seek.stream_position instead of seek(0).
2022-04-11 15:49:41 +03:00
Pieter-Jan Briers
6b5628bef4
Use Seek.stream_position instead of seek(0).
...
BufReader can cache the result of stream_position() so it's fast, whereas seek(0) discards the read buffer and passes through straight to the OS. This drastically worsens the efficiency of loading performance when using BufReader (or anything else to avoid all these tiny reads going straight to the kernel).
2022-04-11 14:30:27 +02:00
Alexander Zaitsev
d82ccd0513
Merge pull request #300 from khuey/zstd_11
...
Bump zstd to 0.11.
2022-04-06 11:00:28 +03:00
Kyle Huey
e7d309288c
Bump zstd to 0.11.
2022-04-05 15:45:26 -07:00
Alexander Zaitsev
4f7609cec7
Merge pull request #298 from zip-rs/feature/prepare_release_0.6.2
...
feat: prepare 0.6.2 release
2022-04-02 17:38:43 +03:00
Alexander Zaitsev
635f6b9b72
feat: prepare 0.6.2 release
...
- update the version number in Cargo
- update the README file
Tested:
- No
2022-04-02 17:34:07 +03:00
Alexander Zaitsev
2c4572dd52
Merge pull request #296 from messense/arm32
...
Fix build for armv5te target
2022-04-02 13:07:51 +03:00
messense
2d0d1d2990
Fix build for armv5te target
2022-04-02 10:37:36 +08:00
Alexander Zaitsev
172f60fb9a
Merge pull request #294 from zip-rs/feature/prepare_release_0.6.1
...
feat: prepare 0.6.1 release
2022-04-01 00:58:57 +03:00
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