This is admittedly a blunt solution to the problem. For uncertain reasons, the ring dependency does not seem compatible with wasm32-unknown-unknown/wasm-bindgen builds. But: ring only seems to be used for this ~25 line utility function. So, the fix proposed here is to remove the ring dependency and inline the utility function. Submitted for your consideration!
Fixes #684
This is admittedly a blunt solution to the problem. For uncertain reasons, the
ring
dependency does not seem compatible withwasm32-unknown-unknown
/wasm-bindgen
builds. But:ring
only seems to be used for this ~25 line utility function. So, the fix proposed here is to remove thering
dependency and inline the utility function. Submitted for your consideration!