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!: new quic-rpc, simlified generics, bump MSRV to 1.76 #2268

Merged
merged 6 commits into from
May 24, 2024

Conversation

Frando
Copy link
Member

@Frando Frando commented May 6, 2024

Description

Adapts iroh for n0-computer/quic-rpc#76

Wit this change, a quic client is
pub type QuicIroh = Iroh<QuinnConnection<RpcService>>
instead of
pub type QuicIroh = Iroh<QuinnConnection<ProviderRequest, ProviderResponse>>

Breaking Changes

  • Increased mimimal supported rust version (MSRV) from 1.75 to 1.76
  • The generics of the iroh clients changed: Instead of taking ProviderRequest, ProviderResponse as generics, they now take RpcService

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@Frando Frando changed the base branch from main to refactor-api May 6, 2024 13:03
Base automatically changed from refactor-api to main May 6, 2024 15:58
@Frando
Copy link
Member Author

Frando commented May 7, 2024

Needs rebase

@dignifiedquire dignifiedquire added this to the v0.17.0 milestone May 15, 2024
@Frando Frando force-pushed the refactor-api-simplify-client-generics branch from e39a486 to 68b341b Compare May 21, 2024 08:22
@Frando
Copy link
Member Author

Frando commented May 21, 2024

Rebased this. Needs a quic-rpc release first though.

@dignifiedquire
Copy link
Contributor

release is done

@Frando
Copy link
Member Author

Frando commented May 22, 2024

Rebased again and bumped quic-rpc. Should be good to go now.

Edit: quic-rpc has MSRV 1.76, so bumped ours from 1.75 to 1.76 as well.

@Frando Frando changed the title refactor: quic-rpc simpler generics refactor: update quic-rpc, simlify generics, bump MSRV to 1.76 May 22, 2024
Cargo.lock Outdated Show resolved Hide resolved
Cargo.lock Outdated Show resolved Hide resolved
@dignifiedquire
Copy link
Contributor

working on deps updates here: n0-computer/quic-rpc#80

@dignifiedquire dignifiedquire changed the title refactor: update quic-rpc, simlify generics, bump MSRV to 1.76 fea!: new quic-rpc, simlified generics, bump MSRV to 1.76 May 24, 2024
@dignifiedquire dignifiedquire changed the title fea!: new quic-rpc, simlified generics, bump MSRV to 1.76 feat!: new quic-rpc, simlified generics, bump MSRV to 1.76 May 24, 2024
@dignifiedquire dignifiedquire added this pull request to the merge queue May 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 24, 2024
@dignifiedquire dignifiedquire added this pull request to the merge queue May 24, 2024
Merged via the queue into main with commit 1e31dcf May 24, 2024
25 checks passed
@dignifiedquire dignifiedquire deleted the refactor-api-simplify-client-generics branch May 24, 2024 12:25
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.

None yet

2 participants