Jan Starke
0321c05557
fix some clippy warnings
...
fix another clippy complaint
ad support for extended timestamp
support missing timestamps in the extended timestamps field
handle inconsistencies between flags and len
handle len_left
add getter
Update README.md to state that the crate has moved
ad support for extended timestamp
handle inconsistencies between flags and len
handle len_left
add getter
Update README.md to state that the crate has moved
2024-05-02 09:18:18 +02: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
Ryan Levick
31b4b5c842
Address clippy issues
2020-06-15 11:11:17 +02:00
Ryan Levick
ebb07348ee
Run cargo fmt
2020-06-15 10:44:39 +02:00
Mathijs van de Nes
80957e2db9
Merge branch 'tm_mon-bounds-fix' of https://github.com/johannesmaibaum/zip-rs
2020-01-11 13:12:04 +01:00
Mathijs van de Nes
a85e3eb809
Fix error checking tm_mon in time::Tm conversion
...
Fixes #128
2020-01-06 22:27:46 +01:00
Johannes Maibaum
b2a669bd33
Fix bounds check in DateTime::from_time()
...
`::time::Tm.tm_mon` has number range [0, 11], see:
https://docs.rs/time/0.1.42/time/struct.Tm.html#structfield.tm_mon
2020-01-03 10:04:58 +01:00
Johannes Maibaum
120732780f
Add bounds test for DateTime::from_time()
...
Fails for 1980-01-01 00:00:00.
2020-01-03 10:04:05 +01:00
Lachezar Lechev
99dba6b397
run cargo fix --edition
2019-11-11 08:58:59 +02:00
unknown
8a24ef994f
Fix bounds check in DateTime::from_time
2019-03-05 21:43:59 -06:00
Mathijs van de Nes
ad7a0fd4e5
Fix for rust 1.20.0
2018-11-17 12:10:23 +01:00