Open
Conversation
This commit adds comprehensive WASM support to octocrab, enabling its use in browser-based applications with frameworks like Yew, Leptos, and Dioxus. Changes: - Add new wasm module with ReqwestTowerService for WASM compatibility - Implement wasm_builder() function for easy WASM initialization - Add conditional WASM dependencies (wasm-bindgen-futures, reqwest, thiserror) - Create wasm_example.rs demonstrating WASM usage - Update README.md with WASM usage documentation - Update CHANGELOG.md with new feature Fixes XAMPPRocky#224
- Add missing error variants (InvalidUriParts, ChannelCanceled) to ReqwestTowerError - Add conditional compilation for unused imports in non-default-client builds - Fix formatting to match project style guidelines
- Fix import ordering (alphabetical) - Fix function signature formatting - Remove trailing whitespace - Simplify method chains per rustfmt guidelines
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds comprehensive WASM support to octocrab, enabling its use in browser-based applications with frameworks like Yew, Leptos, and Dioxus.
Changes:
Fixes #224