Commit 1523227
authored
refactor!: port to iroh@0.90 and n0-snafu (#77)
## Description
* Updates to `iroh@main` for 0.90 release
* Replaces thiserror and anyhow with `snafu` and `n0_snafu`
* Makes use of the new `Endpoint::node_addr()` watcher to simplify the address update code
## Breaking Changes
* `net::GossipBuilder::spawn()` is now sync and infallible
* `net::Error` now only has a single variant `ActorDied`, and implements error traits via snafu instead of thiserror
## Notes & open questions
<!-- Any notes, remarks or open questions you have to make about the PR. -->
## Change checklist
- [x] Self-review.
- [x] 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.
- [x] Tests if relevant.
- [x] All breaking changes documented.1 parent a8d5cd2 commit 1523227
11 files changed
Lines changed: 860 additions & 794 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments