Skip to content

wasm support - #67

Merged
QuartzLibrary merged 7 commits into
mainfrom
wasm
Jul 11, 2026
Merged

wasm support#67
QuartzLibrary merged 7 commits into
mainfrom
wasm

Conversation

@QuartzLibrary

Copy link
Copy Markdown
Owner

No description provided.

@QuartzLibrary QuartzLibrary self-assigned this Jul 11, 2026
@l1n

l1n commented Jul 11, 2026

Copy link
Copy Markdown

Verified — this does everything we need. I built our production wasm-bindgen wrapper (parses raw API JSON into Post/Reply, discovers URLs via Thread::icons() + image_urls(), feeds caller-fetched bytes as InternedImages into to_epub_from_images) against this branch with zero source changes, ran it over a real thread with all icons interned, and the output epub is byte-identical to what our production build (from #65) serves. Keeping the async api/intern_images path alive on wasm via reqwest's fetch backend is a nicer design than my module gating, and the .cargo/config.toml rustflags are a good touch.

Happy to see this merged in place of #65 — and if it makes it to a crates.io release, we can drop our vendored copy entirely. Thanks for picking it up!

@QuartzLibrary
QuartzLibrary merged commit b4bb3ba into main Jul 11, 2026
2 checks passed
@QuartzLibrary
QuartzLibrary deleted the wasm branch July 11, 2026 19:17
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.

2 participants