Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Introduce ReadZipStreaming trait #62

Merged
merged 23 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
0803c17
EntryFsm: give back the buffer
fasterthanlime Feb 2, 2024
183f980
Moer fixes for EntryFsm
fasterthanlime Feb 2, 2024
f0d34fe
Prototype StreamingEntryReader
fasterthanlime Feb 2, 2024
58e92dd
wip
fasterthanlime Feb 2, 2024
9a30c74
Modify jean to add a streaming unzip option
fasterthanlime Feb 5, 2024
4352ab1
jean getting further
fasterthanlime Feb 5, 2024
cd3a9a9
Remove old files
fasterthanlime Feb 5, 2024
ac6319c
Extra fields are present in the local file header too, neat!
fasterthanlime Feb 5, 2024
d713ee8
Start unifying local / central file headers
fasterthanlime Feb 5, 2024
33cda19
More unification
fasterthanlime Feb 5, 2024
d193655
Make some types borrowable/ownable, etc.
fasterthanlime Feb 5, 2024
ebae9d9
Some zip64 errors, interesting
fasterthanlime Feb 5, 2024
a09fc7d
Now failing modes?
fasterthanlime Feb 5, 2024
72a9afc
Woops, version fields are the other way around
fasterthanlime Feb 5, 2024
bdcf109
Truncated errors now
fasterthanlime Feb 5, 2024
9fb6d4e
Tests pass again
fasterthanlime Feb 5, 2024
9795d55
Read larger archives properly (many entries)
fasterthanlime Feb 5, 2024
f579684
Add zip with a large amount of entries to avoid regressions
fasterthanlime Feb 5, 2024
5b87313
Introduce process_till_header
fasterthanlime Feb 5, 2024
d0a9b8c
jean unzip-streaming works properly on sample file
fasterthanlime Feb 5, 2024
99d2862
Add streaming zip reader to rc-zip-tokio as well
fasterthanlime Feb 5, 2024
b057f83
Add tests for streaming interface
fasterthanlime Feb 5, 2024
e1bc45c
Fix docs
fasterthanlime Feb 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _default:
check:
cargo hack clippy --each-feature

docs:
doc:
RUSTDOCFLAGS="-D warnings" cargo doc --all-features --no-deps

# Run all tests locally
Expand Down
1 change: 1 addition & 0 deletions rc-zip-sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ positioned-io = { version = "0.3.3", optional = true }
rc-zip = { version = "3.0.0", path = "../rc-zip" }
oval = "2.0.0"
tracing = "0.1.40"
winnow = "0.5.36"

[features]
default = ["file", "deflate"]
Expand Down
Loading