mirror of
https://github.com/n0-computer/iroh.git
synced 2026-12-04 16:02:04 +00:00
## Description <!-- A summary of what this pull request achieves and a rough list of changes. --> This merges `iroh-net`, `iroh-router` and `iroh` into simply one crate: `iroh`. Also adjusts README and documentation messages. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> - `iroh-net` got renamed to `iroh` - `iroh-router` moved into `iroh` - `iroh-router::ProtocolHandler` is now `iroh::protocol::ProtocolHandler` - `iroh-router::ProtocolMap` is now `iroh::protocol::ProtocolMap` - `iroh-router::Router` is now `iroh::router::Router` - `iroh-router::RouterBuilder` is now `iroh::router::RouterBuilder` ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> Minor Q: Do the `iroh::protocol` and `iroh::router` modules make sense? ## Change checklist - [ ] Fix "TODO(matheus23): docs" for `Router` etc. - [ ] Self-review. - [ ] 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. - [ ] Tests if relevant. - [ ] All breaking changes documented. --------- Co-authored-by: dignifiedquire <me@dignifiedquire.com>