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

deps(iroh-gossip): Do not depend directly on Quinn #2678

Merged
merged 2 commits into from
Aug 29, 2024
Merged

Conversation

flub
Copy link
Contributor

@flub flub commented Aug 28, 2024

Description

iroh-gossip has a direct dependency on Quinn but does not need it. Remove this.

Breaking Changes

none

Notes & open questions

Please do not merge before #2595 is merged. I'm trying to not modify that PR any further.

Change checklist

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

Copy link

github-actions bot commented Aug 28, 2024

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

Last updated: 2024-08-29T11:27:09Z

@flub flub requested review from Frando and matheus23 August 29, 2024 08:31
@flub flub changed the base branch from dig/quinn11 to main August 29, 2024 08:32
@flub flub changed the base branch from main to dig/quinn11 August 29, 2024 08:33
Copy link
Contributor

@matheus23 matheus23 left a comment

Choose a reason for hiding this comment

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

Yeah - I'm really confused.
I swear this is another change I did during self-review at some point, but got lost somehow.
The reason the dependency here used to exist is because not enough quinn types were exposed in iroh-net, specifically error types.
We added those re-exports in iroh-net, now iroh-gossip doesn't have to depend on quinn itself anymore.

I think this may be a merge thing... because in this PR you didn't have to change the iroh-net & iroh-gossip code (which I had to do the last time).

Anyhow.

iroh-gossip has a direct dependency on Quinn but does not need it.
Remove this.
@flub flub changed the base branch from dig/quinn11 to main August 29, 2024 10:39
@flub flub enabled auto-merge August 29, 2024 10:39
@flub flub added this pull request to the merge queue Aug 29, 2024
Merged via the queue into main with commit 6296964 Aug 29, 2024
28 checks passed
@flub flub deleted the flub/gossip-no-quinn branch August 29, 2024 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants