Commit graph

266 commits

Author SHA1 Message Date
Chris Hennick
b52464cf25
Bump version to 0.6.10 2023-04-29 17:00:30 -07:00
Chris Hennick
389bd85754
Update dependencies 2023-04-29 16:53:37 -07:00
Chris Hennick
23a1b3d9f7
Bump version to 0.6.9 2023-04-29 16:45:41 -07:00
Chris Hennick
81de6887cc
Bump version to 0.6.8 2023-04-29 15:44:22 -07:00
Chris Hennick
6b5d058691
Bump version to 0.6.7 2023-04-24 11:05:54 -07:00
Chris Hennick
d0300bc6e6
Update repository link 2023-04-23 16:20:38 -07:00
Chris Hennick
5f9567e313
Bump version to 0.6.6 2023-04-23 16:08:45 -07:00
Chris Hennick
491c512d6c
Update AES library (API has changed) 2023-04-23 16:00:27 -07:00
github-actions[bot]
0a57febc0f
Merge pull request #4 from Pr0methean/dependabot/cargo/constant_time_eq-0.2.5
chore(deps): update constant_time_eq requirement from 0.1.5 to 0.2.5
2023-04-23 22:33:28 +00:00
github-actions[bot]
cdfbe31fd8
Merge pull request #3 from Pr0methean/dependabot/cargo/zstd-0.12.3
chore(deps): update zstd requirement from 0.11.2 to 0.12.3
2023-04-23 22:33:17 +00:00
dependabot[bot]
82071e101a
chore(deps): update constant_time_eq requirement from 0.1.5 to 0.2.5
Updates the requirements on [constant_time_eq](https://github.com/cesarb/constant_time_eq) to permit the latest version.
- [Release notes](https://github.com/cesarb/constant_time_eq/releases)
- [Changelog](https://github.com/cesarb/constant_time_eq/blob/master/CHANGES)
- [Commits](https://github.com/cesarb/constant_time_eq/compare/0.1.5...0.2.5)

---
updated-dependencies:
- dependency-name: constant_time_eq
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-23 22:33:12 +00:00
dependabot[bot]
74747c3783
chore(deps): update zstd requirement from 0.11.2 to 0.12.3
Updates the requirements on [zstd](https://github.com/gyscos/zstd-rs) to permit the latest version.
- [Release notes](https://github.com/gyscos/zstd-rs/releases)
- [Commits](https://github.com/gyscos/zstd-rs/commits)

---
updated-dependencies:
- dependency-name: zstd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-23 22:33:02 +00:00
dependabot[bot]
02a44087ae
chore(deps): update pbkdf2 requirement from 0.11.0 to 0.12.1
Updates the requirements on [pbkdf2](https://github.com/RustCrypto/password-hashes) to permit the latest version.
- [Release notes](https://github.com/RustCrypto/password-hashes/releases)
- [Commits](https://github.com/RustCrypto/password-hashes/compare/scrypt-v0.11.0...pbkdf2-v0.12.1)

---
updated-dependencies:
- dependency-name: pbkdf2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-23 22:32:47 +00:00
Chris Hennick
cde5d5ed11
Implement shallow copy from within the file being written 2023-04-23 14:33:10 -07:00
Jim Turner
7d00bbea90 Add rust-version field to Cargo.toml
This causes compilers older than the MSRV to produce a warning/error
which more clearly indicates that the crate needs a newer compiler.
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field
2023-03-28 21:57:44 -04:00
Marli Frost
7fe65607f3 update aes to 0.8
(hazard): The changelog in aes doesn't indicate any change in behaviour,
and I have assumed the new APIs work identically
2023-02-12 11:17:54 +00:00
Jiahao XU
a614d1f226 Refactor: Extract ZipFileData::enclosed_name
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-02-01 17:33:35 +00:00
Marli Frost
f7dcc666b7 release: 0.6.4 2023-02-01 14:10:33 +00:00
Laurențiu Nicola
f4cad8adb4 Disable time features 2023-01-30 21:21:44 +02:00
Wyatt Herkamp
2b9efe97ba Fixed new Clippy Warnings 2022-10-13 07:44:26 -04:00
Wyatt Herkamp
f4bbaf8434 hopefully a depend fix 2022-10-13 07:44:21 -04:00
Alexander Zaitsev
ecbd2ce5c2 feat(release): prepare to 0.6.3 release
- update library version
- update README

Tested:
- No
2022-10-13 11:53:17 +02:00
Dirk Stolle
c65092c7c9 chore: update dependencies (pbkdf2 0.11.0, flate2 1.0.23) 2022-05-01 19:20:46 +02:00
Pieter-Jan Briers
621971f078 Use some ::with_capacity when reading zip file.
Now with a proper benchmark
2022-04-11 16:17:20 +02:00
Kyle Huey
e7d309288c Bump zstd to 0.11. 2022-04-05 15:45:26 -07: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
messense
2d0d1d2990
Fix build for armv5te target 2022-04-02 10:37:36 +08: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
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
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
Lireer
3d56021052 use hmac reset feature for finalize_reset method 2022-01-30 15:14:47 +01:00
Lireer
cfc74a558a use same SHA-1 crate with new name 2022-01-27 12:18:24 +01:00
Lireer
85bb91fb50 update aes-crypto dependencies 2022-01-26 14:52:10 +01:00
Lireer
d7f0a182b6 Merge remote-tracking branch 'zip-rs/zip/master' 2022-01-25 17:48:45 +01:00
Plecra
37fb0c5df1
Update Cargo.toml 2022-01-23 17:39:27 +00: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
f69ac34045
Merge branch 'master' into use-getrandom 2022-01-23 02:46:40 +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
17b96ec732
Merge pull request #254 from notmandatory/update_time
Upgrade time dependency to "0.3"
2022-01-22 16:30:57 +03:00
Steve Myers
2f71810c07
Upgrade time dependency to "0.3"
Versions of time crate prior to 0.2.23 fail audit due to RUSTSEC-2020-0071.

Crate: time
Version: 0.1.43
Title: Potential segfault in the time crate
Date: 2020-11-18
ID: RUSTSEC-2020-0071
URL: https://rustsec.org/advisories/RUSTSEC-2020-0071
Solution: Upgrade to >=0.2.23
2021-10-21 21:31:37 -07:00
Emmanuel Gil Peyrot
b031ab75bd Use getrandom instead of rand for benches
The current code didn’t build, and this one includes fewer dependencies
than the full rand set of crates.
2021-09-06 23:42:14 +02:00
Lireer
46f65d4d49 add aes-crypto feature to default and update README 2021-08-06 12:42:35 +02:00
Lireer
09ad713d20 update crypto dependencies 2021-08-06 12:40:57 +02:00
Lireer
354993d906 feature gate aes decryption 2021-08-05 21:06:47 +02:00
Lireer
e69df5cf64 finalize aes decryption 2021-08-04 20:08:12 +02:00
Lireer
852ab625fb initial aes reader 2021-08-04 19:02:22 +02:00
Marc Brinkmann
b3ec81335f Remove arrayvec dependency 2021-08-02 19:47:47 +02:00