Chris Hennick
2b07fd1e10
Remove unused import
2023-05-14 10:52:23 -07:00
Chris Hennick
df3dfc1991
Change Rc to Arc since sharing across ZipWriter instances is possible
2023-05-14 10:45:13 -07:00
Chris Hennick
dbf39339de
Wrap extra data in Rc so FileOptions and ZipFileData can be cloned faster
2023-05-14 09:20:15 -07:00
Chris Hennick
ff4dee28d7
Bug fix
2023-05-13 15:38:09 -07:00
Chris Hennick
4faebb4468
Overhaul extra-data interface
2023-05-13 13:59:14 -07:00
Chris Hennick
80f836a661
Use a struct for extra data
2023-05-13 11:02:08 -07:00
Chris Hennick
67bfe53d65
Merge upstream version 0.6.5
2023-05-08 18:54:10 -07:00
Chris Hennick
ae6d98dec2
Fix formatting and a Clippy issue
2023-05-01 10:13:53 -07:00
Chris Hennick
90b89b5460
WIP: Write fuzzing
2023-04-29 21:19:31 -07:00
Chris Hennick
7d89194298
Bug fix for permissions on deep-copied files
2023-04-29 12:49:20 -07:00
Kyle Bloom
1aa3710aff
Remove redundant tests
2023-02-02 08:56:19 +00:00
Marli Frost
d06d4b295f
refactor: move the new ZipStreamReader API to the unstable module
2023-02-01 17:55:07 +00:00
Jiahao XU
16753209af
Refactor: Extract ZipFileData::unix_mode
...
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-02-01 17:33:35 +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
42eabc9e33
fix: update references to old from_time API
2023-02-01 14:01:53 +00:00
Kyle Bloom
ccd20c118e
fix: Unused import with time feature
2023-02-01 13:58:15 +00:00
Kyle Bloom
ab2800b4d8
chore: Move use for TryInto to top
2023-02-01 13:58:15 +00:00
Kyle Bloom
c2adaf7ee0
fix: Use try into implementation for from_time
2023-02-01 13:58:15 +00:00
Kyle Bloom
3f770178ec
fix: Change error type to unit-like struct
2023-02-01 13:58:15 +00:00
Kyle Bloom
5726a07a76
feat: Move from_time to try_from
...
Moves from_time function to TryFrom<OffsetDateTime>
2023-02-01 13:58:15 +00:00
Wyatt Herkamp
1c5cd4ffda
Fixed new Clippy Warnings
2022-10-13 07:51:02 -04:00
Wyatt Herkamp
24caeaac27
Make github ci use 1.59 for time depend and fix two clippy warnings
2022-10-13 07:44:21 -04:00
messense
2d0d1d2990
Fix build for armv5te target
2022-04-02 10:37:36 +08: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
Дмитрий Кальянов
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
Alexander Zaitsev
ca60821c0a
merge: Merge branch 'master' into explainer
2022-03-08 18:13:34 +03:00
Benoît du Garreau
addfe01eb0
Make ZipArchive
cheap to clone
2022-02-05 16:08:55 +01:00
Lireer
d7f0a182b6
Merge remote-tracking branch 'zip-rs/zip/master'
2022-01-25 17:48:45 +01:00
Marli Frost
b080731c55
chore: rustfmt
2022-01-23 21:53:42 +00:00
Marli Frost
0eea88d6c0
doc: more beginner-friendly DateTime
...
give more warnings about possible misuse of the type
2022-01-23 21:43:28 +00: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
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
Steve Myers
0ee34bd105
Bump MSRV to 1.52.0 and fix cargo fmt and doc
2021-10-25 10:31:46 -07: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
Lireer
48b52a7e86
move AesMode and AesVendorVersion out of aes-crypto feature
2021-08-05 21:16:11 +02:00
Lireer
354993d906
feature gate aes decryption
2021-08-05 21:06:47 +02:00
Lireer
0820cc4fe2
fix more clippy warnings
2021-08-05 20:29:51 +02:00
Lireer
ff23539624
differentiate between ae1 and ae2
2021-08-05 20:28:14 +02:00
Lireer
d25d6f5f57
finalize AesReader validation and most of decryption
2021-08-04 19:56:14 +02:00
Lireer
852ab625fb
initial aes reader
2021-08-04 19:02:22 +02:00
Marli Frost
3fd44ffd5d
Merge pull request #200 from qu1x/support-extra-field
2021-05-11 11:18:17 +01:00
Benjamin Richner
aee5ff09bc
Fix unit test in types.rs
2021-05-02 04:10:32 +02:00
Benjamin Richner
80f4c43369
Add Info-ZIP password validation
2021-05-02 04:02:50 +02:00
Marli Frost
f02ad80c70
docs: update links to documentation
2021-02-14 12:37:29 +00:00
Rouven Spreckels
9397773a32
Add ZIP64 write support.
2020-10-03 11:05:23 +02:00
Rouven Spreckels
a191c4b435
Support extra field.
2020-09-16 13:59:43 +02:00
Marli Frost
f863497e9b
feat: expose the location of the central header
2020-09-10 09:34:24 +01:00
Marli Frost
df8f377f92
docs: warn users about DateTime implementation
2020-08-19 12:21:48 +01:00
Marli Frost
6e652446dd
feat: define the crate's MSRV
2020-06-23 15:48:50 +01:00