Commit f3214d0
authored
deps/refactor: port to iroh 0.91 (#47)
## Description
Ports iroh-docs to iroh 0.91 and from quic-rpc to irpc.
TODOs / Missing features vs iroh-docs 0.35:
- [ ] `Doc::export_file` and `Doc::import_file` are missing. Would need
some more work to port them, I didn't get around to that yet. But it's
not super critical, as you can import via iroh-blobs and then use
Doc::set_hash.
- [ ] Document all the API changes (this is quite a bit of work - best
way likely to compare the docs for old and new version)
- [ ] Maybe: Convert errors to snafu. This is still using anyhow and
thiserror. It is quite some work, not sure about it yet.
Status for everything else
- All APIs converted
- All tests pass
## Breaking Changes
Quite a few. TODO: Document.
<!-- 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.
-->
## Change checklist
- [ ] Self-review.
- [ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.1 parent b666e5e commit f3214d0
35 files changed
Lines changed: 3676 additions & 5483 deletions
File tree
- .github/workflows
- examples
- src
- api
- cli
- engine
- rpc
- client
- store
- fs
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments