buttplugio / buttplug-rs-ffi

FFI from buttplug-rs to Java and other languages
Other
89 stars 22 forks source link

How should we support WASM/Neon on NPM? #11

Closed qdot closed 2 years ago

qdot commented 3 years ago

We'll need two FFI layers for buttplug-rs-ffi in JS:

For the past 3 years, we've distributed both the node module and webpack'd web module in the "buttplug" package on npm. This is now more complicated, since the WASM library will be all of Buttplug + web components (WebBluetooth, Browser websockets, etc), and the node will be neon bindings. So we need to decide whether we're shipping everything in the same package (if that's even possible?), or splitting to buttplug-web and buttplug-node and deprecating our main package.

qdot commented 3 years ago

See replies to the following thread for more info: https://twitter.com/qDot/status/1312506165582983168

qdot commented 2 years ago

Closing this in deference to #83.