Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Custom executor for Wasm Support #728

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

omarabid
Copy link
Contributor

This PR enables Octocrab to use a custom executor by using Buffer::pair instead of Buffer::new which relies on the Tokio runtime. It also change std::time to webtime crate which is a drop-in replacement for time that compiles on wasm.

This was tested on a wasm environment (specifically Cloudflare Workers)

@XAMPPRocky
Copy link
Owner

Thank you for your PR, and congrats on your first contribution! 🎉

@XAMPPRocky XAMPPRocky merged commit 6f30dc5 into XAMPPRocky:main Nov 13, 2024
20 checks passed
@github-actions github-actions bot mentioned this pull request Nov 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants