cloudflare / daphne

Implementation of DAP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrading to workers-rs 0.0.13.

bhalleycf opened this issue · comments

We'd like to upgrade to workers-rs 0.0.13 but cannot due to serde-wasm-bindgen not being able to deserialize into bytes a JsValue that's an Array instead of a Uint8Array or ArrayBuf.

The serde-wasm-bindgen issue is serde-wasm-bindgen:43.

The workers-rs issue is workers-rs:284.

We hope to add the ability to serialize and deserialize bytes to Arrays into serde-wasm-bindgen soon.

serde-wasm-bindgen accepted a change that fixes this for us, so we will eventually unblock after serde-wasm-bindgen's next release, and whatever release of workers-rs picks that up.

When I did the prior update I didn't release that the maintainer had also done a release. serde-wasm-bindgen 0.5.0 contains the fix.

This is in workers-rs 0.0.14 and everything works.

The PR for this is #244