Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Conversation

@lrlna
Copy link
Member

@lrlna lrlna commented Jan 10, 2019

To be able to compile to wasm with the current API, we need to wrap the methods we want in JS and format the Error string to JsValue. This adds a bit of overhead, but hopefully in the future we can have something that's more JsError like.

This PR also adds:

  • travis check for wasm compilation
  • bson-rs package points to my fork until we are all good to merge the outstanding PR in bson-rs
  • comments out the integration tests (need to look into using own crate when cargo.toml is set as cdylib.
  • adds docs to the readme for the JS-exposed API

@lrlna lrlna merged commit a5c3020 into master Jan 11, 2019
@lrlna lrlna deleted the wasm-support branch January 11, 2019 08:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant