Jake Shadle
224fc60a9b
Remove num_enum
2024-05-07 08:16:34 +02:00
Chris Hennick
845c3ec91f
refactor: Remove unused atomic
module
2024-05-06 14:14:25 -07:00
Chris Hennick
0518194ae2
style: cargo fmt --all
2024-05-06 13:07:19 -07:00
Chris Hennick
3ff9428e66
Merge branch 'master' into aes-encryption3
...
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-06 11:44:55 -07:00
Chris Hennick
61d56318bf
style: Fix fmt and clippy warnings
2024-05-06 11:24:46 -07:00
Chris Hennick
c2fe20741c
fix: version_needed was wrong when e.g. cfg(bzip2) but current file wasn't bzip2 ( #100 )
2024-05-06 11:16:16 -07:00
Johannes Löthberg
d096e4dbf1
Add support for writing AES-encrypted files
...
Signed-off-by: Johannes Löthberg <johannes.loethberg@elokon.com>
2024-05-06 16:37:05 +02:00
Johannes Löthberg
80dc8f2484
Add compression method to AES info
...
Signed-off-by: Johannes Löthberg <johannes.loethberg@elokon.com>
2024-05-06 16:37:05 +02:00
Chris Hennick
c8655d9eda
Merge pull request #77 from cosmicexplorer/oldpr395
...
refactor: use num_enum to clean up the System type
2024-05-02 20:48:04 +00:00
Chris Hennick
3140276a33
Merge remote-tracking branch 'jans/master' into oldpr437a
...
# Conflicts:
# README.md
# src/cp437.rs
# src/read.rs
# src/types.rs
# src/write.rs
2024-05-02 10:51:01 -07:00
Chris Hennick
d802453525
style: rearrange imports to satisfy cargo fmt check
2024-05-02 09:35:46 -07:00
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
Danny McClanahan
3cfbdfca83
use num_enum to clean up the System type
2024-05-02 00:30:35 -04:00
Wyatt Herkamp
61afe4dad9
Added ExtendedFileOptions
2024-04-15 16:32:07 -04:00
Chris Hennick
9438bef0f7
Replace AtomicU64 with OnceLock
2024-04-14 07:53:32 -07:00
Chris Hennick
161bd87724
Refactor to use boxed slices instead of Vec where possible
2024-04-08 12:09:23 -07:00
Chris Hennick
db69d25828
Bug fix
2024-04-08 10:45:22 -07:00
Chris Hennick
384afcda2a
Switch from String
to Box<str>
for metadata
2024-04-08 10:29:17 -07:00
Chris Hennick
007918a81f
Update dependencies and allow for 64-bit Zopfli compression levels
2024-02-28 16:27:03 -08:00
Chris Hennick
3cb826fe8b
Make functions const
where possible
2023-06-07 22:15:06 -07:00
Chris Hennick
bcd8fb27d2
Bug fix
2023-06-01 14:27:55 -07:00
Chris Hennick
34945fe884
Refactor to eliminate From<Infallible>
2023-06-01 14:26:15 -07:00
Chris Hennick
07679d3b7f
Reformat and fix error
2023-06-01 12:59:17 -07:00
Chris Hennick
60553541ed
Change error return type to DateTimeRangeError
2023-06-01 12:41:54 -07:00
Chris Hennick
2407ef95c6
Fixes and refactors for no-features build
2023-05-30 18:17:59 -07:00
Chris Hennick
eb8709afdf
Fix Clippy and fmt warnings
2023-05-30 10:41:45 -07:00
Chris Hennick
bd0cc62afa
Bug fix
2023-05-30 10:14:06 -07:00
Chris Hennick
630ca3fa0f
Bug fixes for chrono integration
2023-05-30 10:06:36 -07:00
Chris Hennick
b47d6419b8
Add chrono integration
2023-05-30 09:48:39 -07:00
Chris Hennick
5d16fa250c
Revert "Wrap extra-data field in an Option, to save Arc overhead when empty"
...
This reverts commit 1df9186527
.
2023-05-15 21:25:34 -07:00
Chris Hennick
1df9186527
Wrap extra-data field in an Option, to save Arc overhead when empty
2023-05-15 20:23:46 -07:00
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