Skip to content

Commit

Permalink
Introduce rc-zip-sync, rc-zip-tokio (#60)
Browse files Browse the repository at this point in the history
This PR closes #45: it finally re-introduces an async interface, and it finally introduces a state machine for reading entries.

All the decompressors are now implemented in rc-zip itself, and rc-zip-sync / rc-zip-tokio just plug sync or async I/O into it, as was always the plan.

The sample corpus is tested through sync and async codepaths.
  • Loading branch information
fasterthanlime authored Feb 2, 2024
1 parent 1016c80 commit 2a0d894
Show file tree
Hide file tree
Showing 106 changed files with 4,860 additions and 1,491 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
cargo doc --all-features --no-deps
- name: Run cargo clippy
run: |
cargo hack clippy --feature-powerset --group-features deflate,deflate64,lzma,bzip2
cargo hack clippy --each-feature
- name: Run tests and collect coverage
run: just ci-test
- name: Upload coverage information
Expand Down
12 changes: 11 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
{
"rust-analyzer.cargo.features": ["default", "lzma", "deflate64", "bzip2", "zstd"]
"rust-analyzer.cargo.features": [
"rc-zip/corpus",
"deflate",
"deflate64",
"bzip2",
"lzma",
"zstd",
],
"rust-analyzer.linkedProjects": [
"./Cargo.toml"
]
}
235 changes: 223 additions & 12 deletions Cargo.lock

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

Loading

0 comments on commit 2a0d894

Please sign in to comment.