Commit graph

868 commits

Author SHA1 Message Date
Chris Hennick
ffa7772cc3
style: cargo fmt --all 2024-04-22 19:56:46 -07:00
Chris Hennick
64b738a81e
chore(release): revert method deletions from c9cb506bc9 2024-04-22 19:46: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
81e44d1d41
Refactor: replace contains_file_named with index_for_name 2024-04-20 12:31:00 -07:00
Chris Hennick
c22afbf3c7
cargo fmt --all 2024-04-20 12:00:01 -07:00
Chris Hennick
16b66841b3
Add contains_file_named 2024-04-20 11:58:18 -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
c4f91c2895 cargo fmt --all 2024-04-14 08:12:07 -07:00
Chris Hennick
72fde539cd Bump version number to 1.1 due to MSRV bump 2024-04-14 08:03:06 -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
b7fe3f6e4f Add tests and update fuzzing dictionary/corpus for LZMA 2024-04-11 13:14:34 -07:00
Chris Hennick
7f8311efea Add support for decompressing LZMA 2024-04-11 13:03:57 -07:00
Chris Hennick
9d3f307a42 Bump version to 1.0.1 2024-04-09 13:00:23 -07:00
Chris Hennick
52559af930 Fix cargo fmt 2024-04-08 12:11:49 -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
cdfd36a1cc Fix another Clippy warning 2024-04-08 11:02:11 -07:00
Chris Hennick
3c35357b2e Bump version to 1.0.0 2024-04-08 10:53:47 -07:00
Chris Hennick
804fb27309 Fix Clippy warning 2024-04-08 10:47:35 -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
8d3b72ab60 Update version number in doc comment 2024-03-13 13:34:30 -07:00
Chris Hennick
dec73ef5c1 Merge branch 'tune_fuzz'
# Conflicts:
#	src/read.rs
2024-03-13 13:09:14 -07:00
Chris Hennick
ece098d393 Make InvalidPassword a kind of ZipError 2024-03-13 13:05:54 -07:00
Chris Hennick
6d8de51bea Bug fix: expected error result now happens sooner 2024-03-11 13:32:58 -07:00
Chris Hennick
6338242154 Bug fix: dir_end was being set incorrectly 2024-03-07 15:23:56 -08:00
Chris Hennick
5e03f43f9a Fix failing tests other than deflate64 bug 25 2024-03-07 15:16:04 -08: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
be49def529 Replace hard-coded byte array with data file 2024-03-06 12:34:51 -08:00
Chris Hennick
ce11179be3 Add test case for https://github.com/anatawa12/deflate64-rs/issues/25 2024-03-04 17:35:12 -08:00
Chris Hennick
c1afa95706 Refactor: use a zip file with valid metadata 2024-03-03 18:01:31 -08:00
Chris Hennick
f4d5ad7b49 Bug fix: can't run new test if deflate64 is disabled 2024-03-03 18:00:05 -08:00
Chris Hennick
80876aa7e4 Bug fix: incorrect assertion for new test 2024-03-03 17:36:58 -08:00
Chris Hennick
fe3821c4c0 Add test case to reproduce deflate64 error 2024-03-03 17:29:27 -08:00
Chris Hennick
9324b28e71 Enable DEFLATE64 by default and bump version to 0.10.4 2024-02-28 16:49:30 -08:00
Chris Hennick
11b6f01c75 cargo fmt: remove trailing space 2024-02-28 16:40:43 -08:00
Chris Hennick
3a6eecfa19 #[allow(unknown_lints)] 2024-02-28 16:36:52 -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
Chris Hennick
3367c618cf
Suppress invalid_from_utf8 in test where it's intentional 2024-02-28 15:23:01 -08:00