Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Vend a wasm32-unknown-unknown artifact with TypeScript bindings based on noosphere #164

Closed
cdata opened this issue Nov 18, 2022 · 3 comments
Assignees
Labels
Enhancement New user-facing feature

Comments

@cdata
Copy link
Collaborator

cdata commented Nov 18, 2022

Now that we have a viable high-level API in the form of noosphere via #123 , we should enable a build path to create a wasm32-unknown-unknown library artifact with corresponding TypeScript bindings. There are a few paths to accomplishing this, but perhaps the easiest one is to add a wasm-bindgen-based FFI. Then, we can add the artifact generation to our automatic build pipeline and include the artifacts with releases of noosphere.

@cdata cdata added the Enhancement New user-facing feature label Nov 18, 2022
@cdata cdata self-assigned this Nov 18, 2022
@cdata cdata moved this to 🏔️ Icebox in Subconscious + Noosphere Nov 18, 2022
@cdata cdata moved this from 🏔️ Icebox to 📚 Todo in Subconscious + Noosphere Nov 18, 2022
@kinostl
Copy link

kinostl commented Nov 26, 2022

Sorry for the simple question, I'm new to rust. Would the idea with this be to decorate the crate with wasm-bindgen and export?

@cdata
Copy link
Collaborator Author

cdata commented Nov 27, 2022

Sort of. We'll add some FFI-specific constructs similar to what we added for #131 (see sources under ffi). Those will be decorated with wasm-bindgen macros for generating a Wasm API.

@cdata
Copy link
Collaborator Author

cdata commented Feb 1, 2023

This is actually done as of #165

@cdata cdata closed this as completed Feb 1, 2023
@github-project-automation github-project-automation bot moved this from 📚 Todo to 🌱 Done in Subconscious + Noosphere Feb 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancement New user-facing feature
Projects
Status: 🌱 Done
Development

No branches or pull requests

2 participants