agent-rs icon indicating copy to clipboard operation
agent-rs copied to clipboard

feat: support WASM as a build target

Open adamspofford-dfinity opened this issue 1 year ago • 0 comments

Reqwest supports a WebAssembly backend, and only minimal changes are required to support it. Namely, TLS is moved to its own feature, and cfgs are added to not require WASM futures to be Send.

For now, only ic-agent, ic-utils, and ic-asset have support; a webauthn-based Identity impl would likely be in its own crate, were one to be created, rather than having a 'WASM mode' for ic-identity-hsm.

Fixes #360.

adamspofford-dfinity avatar Jul 14 '22 23:07 adamspofford-dfinity