Skip to content

fix: enable deflate for zip crate to support GitHub archive extraction#15

Merged
developer0hye merged 1 commit into
mainfrom
fix/zip-deflate
Mar 10, 2026
Merged

fix: enable deflate for zip crate to support GitHub archive extraction#15
developer0hye merged 1 commit into
mainfrom
fix/zip-deflate

Conversation

@developer0hye

Copy link
Copy Markdown
Owner

Summary

  • Enable deflate feature on the zip crate (default-features = false was disabling all decompression)
  • Fixes convert https://github.com/user/repo failing with "Compression method not supported"
  • deflate uses pure Rust (flate2/rust_backend), safe for wasm32 target

Test plan

  • cargo run -p marknest -- convert https://github.com/karpathy/autoresearch -o out.pdf succeeds with images
  • cargo check -p marknest-wasm --target wasm32-unknown-unknown passes
  • cargo test --workspace — no new failures (1 pre-existing failure in remote asset inlining test)

🤖 Generated with Claude Code

…xtraction

GitHub zipball archives use deflate compression, but the zip crate was
configured with default-features = false which disabled all decompression
methods. This caused "Compression method not supported" errors when
converting GitHub URLs (e.g. `convert https://github.com/user/repo`).
The deflate feature uses pure Rust (flate2/rust_backend), safe for all
targets including wasm32.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Yonghye Kwon <developer.0hye@gmail.com>
@developer0hye developer0hye merged commit aae2ca5 into main Mar 10, 2026
2 checks passed
@developer0hye developer0hye deleted the fix/zip-deflate branch March 10, 2026 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant