signalapp / libsignal

Home to the Signal Protocol as well as other cryptographic primitives which make Signal possible.
GNU Affero General Public License v3.0
3.05k stars 359 forks source link

Can I use rust lib in plain JS in web client without NodeJS? #542

Closed Invariant0x closed 5 months ago

Invariant0x commented 7 months ago

Hi I want use RUST lib with http://webassembly.org/ Can I do it? Help please

jrose-signal commented 7 months ago

You can try, but it's not a supported configuration. In particular, you'll have to write your own bridging layer that uses Wasm bindings instead of Neon.