Chris Hennick
1f84a81fdb
style: cargo fmt --all
2024-05-05 17:57:59 -07:00
Chris Hennick
16dc2482f2
chore: Fix unused import warning for TryInto with no features
2024-05-05 17:57:15 -07:00
Chris Hennick
614879506c
chore: Fix merge
2024-05-05 17:53:18 -07:00
Chris Hennick
40b0af9494
Merge branch 'master' into oldpr369
...
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-03 15:49:33 -07:00
Chris Hennick
20bfcd960c
style: fix a cargo fmt check
2024-05-03 13:24:15 -04:00
Chris Hennick
875ee30f91
style: Fix a Clippy warning in write.rs
2024-05-03 13:24:15 -04:00
Danny McClanahan
d1695053f5
use indexmap
2024-05-03 13:24:11 -04:00
Chris Hennick
1d1d9a631f
Merge branch 'master' into no-byte-order-a
2024-05-02 22:22:42 -07:00
Chris Hennick
84ae5fc157
refactor: Remove byteorder dependency ( #83 )
2024-05-02 17:50:27 -07:00
Chris Hennick
ef0c942db7
Merge pull request #75 from cosmicexplorer/oldpr400
...
feat: add ZipWriter::finish_into_readable()
2024-05-02 21:14:48 +00:00
Chris Hennick
033ec7bd46
Merge pull request #76 from cosmicexplorer/oldpr401
...
feat: add ZipWriter::merge_archive() to efficiently copy all entries from a ZipArchive
2024-05-02 20:49:28 +00:00
Chris Hennick
90dc62ba18
Merge pull request #78 from cosmicexplorer/oldpr397
...
refactor: use displaydoc and thiserror to remove some boilerplate
2024-05-02 20:43:46 +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
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
a16a34f1a5
use displaydoc and thiserror to remove some boilerplate
2024-05-02 00:41:40 -04:00
Danny McClanahan
aad5d988d6
add ZipWriter::merge_archive() method
2024-05-02 00:22:32 -04:00
Danny McClanahan
68f7f5d452
add finish_into_readable()
2024-05-02 00:02:49 -04:00
Chris Hennick
56e3ced867
Merge remote-tracking branch 'decentriq/master' into oldpr369
...
# Conflicts:
# src/read.rs
# src/write.rs
2024-05-01 15:23:10 -07:00
Chris Hennick
cae144b2c0
style: fix unused-variable warning for test
...
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-04-29 13:33:53 -07:00
Chris Hennick
42972297f1
fix: Rare bug where find_and_parse would give up prematurely on detecting a false end-of-CDR header
2024-04-29 13:18:17 -07:00
Chris Hennick
e48d4ef1d1
revert: refactor!: remove deflate-miniz
feature since it's now equivalent to deflate
( #35 )"
...
Reverts: 16633213
2024-04-28 10:43:52 -07:00
Chris Hennick
1663321323
refactor!: remove deflate-miniz
feature since it's now equivalent to deflate
( #35 )
2024-04-24 00:21:04 -07:00
Chris Hennick
00378bc6f2
fix: Alignment was previously handled incorrectly ( #33 )
2024-04-23 12:07:30 -07:00
Chris Hennick
c3d9123abf
test: unit test to reproduce #33
2024-04-23 11:42:32 -07:00
Chris Hennick
c9cb506bc9
Update docs, remove some deprecated methods, and substitute crate version into docstring
2024-04-22 17:23:44 -07:00
Chris Hennick
124ebfdb02
Fix Clippy warnings
2024-04-20 15:14:28 -07:00
Chris Hennick
cdc2e7aa23
Add shallow_copy_file_from_path,deep_copy_file_from_path and raw_copy_file_to_path, and use PathBuf in fuzz_write
2024-04-20 14:38:54 -07:00
Chris Hennick
0087dab984
Update documentation and annotations
2024-04-20 14:13:41 -07:00
Chris Hennick
e412d8b6df
Restore support for Path and fix handling of ".."
2024-04-20 14:05:11 -07:00
Chris Hennick
174825229c
Change crate name to "zip" per https://github.com/zip-rs/zip/issues/446#issuecomment-2063837388
2024-04-19 18:50:27 -07:00
Wyatt Herkamp
61afe4dad9
Added ExtendedFileOptions
2024-04-15 16:32:07 -04:00
Chris Hennick
d23f036955
Bug fix
2024-04-14 08:47:35 -07:00
Chris Hennick
9438bef0f7
Replace AtomicU64 with OnceLock
2024-04-14 07:53:32 -07:00
Chris Hennick
4f3f2d1fca
Bug fix: LZMA state is large, so put it in a Box
2024-04-11 13:28:37 -07:00
Chris Hennick
812498e788
Bug fix: conditionally unused import
2024-04-11 13:18:22 -07:00
Chris Hennick
7f8311efea
Add support for decompressing LZMA
2024-04-11 13:03:57 -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
384afcda2a
Switch from String
to Box<str>
for metadata
2024-04-08 10:29:17 -07:00
Chris Hennick
e23ba853d3
Remove comment field from Shared
to avoid unnecessary copying
2024-03-07 14:43:40 -08:00
Chris Hennick
8efd2339cf
Overhaul read logic to perform *all* validations before accepting a central directory as the real one
2024-03-07 14:34:40 -08:00
Chris Hennick
c48b5a558b
cargo fmt
2024-02-28 16:28:41 -08:00
Chris Hennick
007918a81f
Update dependencies and allow for 64-bit Zopfli compression levels
2024-02-28 16:27:03 -08:00
Chris Hennick
da21bbe45f
Remove redundant imports
2024-02-28 16:03:44 -08:00
Chris Hennick
bcc5a91988
Fix clippy error
2024-02-28 15:29:29 -08:00
anatawa12
d6fcd355b8
fix: cargo clippy error
2023-10-13 21:49:41 +09:00
anatawa12
4812d77e5b
Merge remote-tracking branch 'zip-next/master' into deflate64-next
2023-10-13 19:58:44 +09:00
anatawa12
065058d30d
feat: support deflate64 compression with deflate64 crate
2023-08-04 21:52:08 +09:00
Chris Hennick
3cb826fe8b
Make functions const
where possible
2023-06-07 22:15:06 -07:00
Chris Hennick
7b23b3212a
Update doc comment about compression_method
2023-06-01 12:56:11 -07:00
Chris Hennick
12eae587e1
Remove unused import
2023-05-30 18:21:48 -07:00