Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat(wasm): added wasm support #135

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

benni-tec
Copy link

Hey everybody,
the basic types from wasm_bindgen, which are used by reqwest etc. when compiling for wasm, are neither Send nor Sync.

Since wasm is inherently single-threaded it is safe to send objects across "thread"-boundaries that do not implement these.

asnyc_traits however forces the parameters to be Sync + Send by default, this merge requests disables this only for wasm targets and should thus not effect anything else.

PS: I also bumped the versions of the dependencies

@benni-tec benni-tec changed the title add wasm support feat(wasm): added wasm support Oct 14, 2024
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