Skip to content

Commit

Permalink
feat!: new quic-rpc, simlified generics, bump MSRV to 1.76 (#2268)
Browse files Browse the repository at this point in the history
## 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

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist

- [x] Self-review.
- [x] Documentation updates if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.

---------

Co-authored-by: dignifiedquire <[email protected]>
  • Loading branch information
Frando and dignifiedquire authored May 24, 2024
1 parent 56bc283 commit 77d8a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = ["n0 team"]
repository = "https://github.com/n0-computer/iroh"

# Sadly this also needs to be updated in .github/workflows/ci.yml
rust-version = "1.75"
rust-version = "1.76"

[lints]
workspace = true
Expand Down

0 comments on commit 77d8a87

Please sign in to comment.