-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(iroh)!: Remove server channel type parameter (#2461)
## Description This is a followup to the modularize services PR. I did not want to do it in that one since it was big enough already. ## Breaking Changes - A `#[must_use]` annotation was added to AbortingJoinHandle ``` Checked [ 0.095s] 75 checks; 74 passed, 1 failed, 0 unnecessary --- failure struct_must_use_added: struct #[must_use] added --- Description: A struct is now #[must_use]. Downstream crates that did not use its value will get a compiler lint. ref: https://doc.rust-lang.org/reference/attributes/diagnostics.html#the-must_use-attribute impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.32.0/src/lints/struct_must_use_added.ron Failed in: struct AbortingJoinHandle in /home/runner/work/iroh/iroh/iroh-net/src/util.rs:18 Summary semver requires new minor version: 0 major and 1 minor checks failed ``` ## Notes & open questions ## 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.
- Loading branch information
Showing
5 changed files
with
56 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters