Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(iroh)!: remove get_protocol and the plumbing required for it #3009

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

rklaehn
Copy link
Contributor

@rklaehn rklaehn commented Dec 4, 2024

Description

Remove get_protocol and the plumbing required for it

it has not turned out to be as useful as originally expected

Breaking Changes

  • iroh::protocol::Router::get_protocol is removed
  • iroh::protocol::RouterBuilder::get_protocol is removed
  • iroh::protocol::ProtocolMap::get_typed is removed
  • iroh::protocol::IntoArcAny is removed

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

Sorry, something went wrong.

it has not turned out to be as useful as originally expected
Copy link

github-actions bot commented Dec 4, 2024

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/3009/docs/iroh/

Last updated: 2024-12-04T20:16:32Z

@@ -335,7 +296,6 @@ impl RouterBuilder {

Ok(Router {
endpoint: self.endpoint,
protocols,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to clone this above anymore

Copy link

github-actions bot commented Dec 4, 2024

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: a6cf9b6

@rklaehn rklaehn marked this pull request as ready for review December 4, 2024 20:23
@dignifiedquire dignifiedquire added this pull request to the merge queue Dec 4, 2024
Merged via the queue into main with commit 1323c9a Dec 4, 2024
27 of 28 checks passed
@rklaehn rklaehn deleted the remove-get-protocol branch December 5, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants