Make use of the new export_room_keys_stream method from https://github.com/matrix-org/matrix-rust-sdk/pull/3144 to avoid one copy of the keys in the export process, by directly serialising to a JSON string, without taking the intermediate step into a Vec<ExportedRoomKey>.
Applies on top of https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/pull/106
Make use of the new
export_room_keys_stream
method from https://github.com/matrix-org/matrix-rust-sdk/pull/3144 to avoid one copy of the keys in the export process, by directly serialising to a JSON string, without taking the intermediate step into aVec<ExportedRoomKey>
.Part of https://github.com/element-hq/element-web/issues/26681