Commit 847c4c5
feat: compile to wasm for browsers (#187)
## Description
Depends on n0-computer/irpc#54 (merged but not
released)
This makes iroh-blobs compile on wasm, with memstore only though. I had
started on this a while back but it got much easier now with the
fs-store behind a feature flag.
Example:
n0-computer/iroh-examples#139
Deployed at
https://n0-computer.github.io/iroh-examples/pr/139/browser-blobs/index.html
## Breaking Changes
<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->
## Notes & open questions
<!-- Any notes, remarks or open questions you have to make about the PR.
-->
---------
Co-authored-by: “ramfox” <“[email protected]”>1 parent db54e36 commit 847c4c5
File tree
28 files changed
+240
-136
lines changed- .cargo
- .github/workflows
- examples
- src
- api
- provider
- store
- fs
- util
- util
- tests
28 files changed
+240
-136
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
0 commit comments