Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zip-rs/zip2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.6.1
Choose a base ref
...
head repository: zip-rs/zip2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.0.0
Choose a head ref
  • 6 commits
  • 14 files changed
  • 7 contributors

Commits on Sep 3, 2025

  1. Use native implementation of LZMA and XZ (#405)

    * deps: Use native lzma-rust2 instead of liblzma
    
    This is a native port of the XZ's liblzma. The main advantage is, that the crate is native Rust and is also used by the 7z crate.
    
    Performance should be equal to the liblzma crate, since I spend quite a bit of time to improve the performance.
    
    I only used the single threaded version of the reader/writer, since parallelization was not enabled for liblzma. lzma-rust2 has multithreaded reader/writer though.
    
    I had to remove the old bug report fix, since lzma_rust2 doesn't have the reported behavior. The test case also was obviously AI generated and useless.
    
    * fix: Properly implement LZMA decoding
    
    The old implementation actually didn't worked. The test file uses STORE as compression. This makes sure that LZMA is properly implemented.
    
    I remembered that I had to defer the initialization of reading the properties when implementing PPMd, so I did this here too.
    
    * fix: Fix linter issue
    
    * fix: Formatting of README.md
    
    * fix: Reduce IO reads
    
    * fix: Move XZ decoder and encoder to the heap
    
    * fix: Fix code review issues
    
    * fix: Fix UnwindSafe issue by using latest lzma-rust2 version
    
    * Rephrase a comment in src/compression.rs
    
    Signed-off-by: Chris Hennick <[email protected]>
    
    ---------
    
    Signed-off-by: Chris Hennick <[email protected]>
    Co-authored-by: Chris Hennick <[email protected]>
    hasenbanck and Pr0methean authored Sep 3, 2025
    Configuration menu
    Copy the full SHA
    aaaa26f View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2025

  1. Potential fix for code scanning alert no. 205: Workflow does not cont…

    …ain permissions (#411)
    
    Signed-off-by: Chris Hennick <[email protected]>
    Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
    Configuration menu
    Copy the full SHA
    2f202c6 View commit details
    Browse the repository at this point in the history
  2. test(ci): Create rust-clippy.yml (#413)

    * Create rust-clippy.yml
    
    Signed-off-by: Chris Hennick <[email protected]>
    
    * Update .github/workflows/rust-clippy.yml
    
    Co-authored-by: amazon-q-developer[bot] <208079219+amazon-q-developer[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <[email protected]>
    
    * Update .github/workflows/rust-clippy.yml
    
    Co-authored-by: amazon-q-developer[bot] <208079219+amazon-q-developer[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <[email protected]>
    
    ---------
    
    Signed-off-by: Chris Hennick <[email protected]>
    Co-authored-by: amazon-q-developer[bot] <208079219+amazon-q-developer[bot]@users.noreply.github.com>
    Pr0methean and amazon-q-developer[bot] authored Sep 4, 2025
    Configuration menu
    Copy the full SHA
    82178ed View commit details
    Browse the repository at this point in the history
  3. chore(deps): update nt-time requirement from 0.10.6 to 0.12.1 (#414)

    Updates the requirements on [nt-time](https://github.com/sorairolake/nt-time) to permit the latest version.
    - [Changelog](https://github.com/sorairolake/nt-time/blob/develop/CHANGELOG.adoc)
    - [Commits](sorairolake/nt-time@v0.10.6...v0.12.1)
    
    ---
    updated-dependencies:
    - dependency-name: nt-time
      dependency-version: 0.12.1
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 4, 2025
    Configuration menu
    Copy the full SHA
    8a6e832 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2025

  1. feat: Implement by_path*() methods on ZipArchive (#382)

    * Implement by_path*() methods.
    
    * Refactor by_path tests.
    
    * fix: test requires aes-crypto
    
    * fix: Move `use zip::AesMode` and declaration of `PASSWORD` into the test that uses them, since they're not used when the `aes-crypto` feature isn't enabled
    
    ---------
    
    Co-authored-by: Chris Hennick <[email protected]>
    Co-authored-by: hennickc <[email protected]>
    3 people authored Sep 5, 2025
    Configuration menu
    Copy the full SHA
    68882b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1d74a0 View commit details
    Browse the repository at this point in the history
Loading