-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Move
iroh-router
into iroh-net
and rename iroh-net
to…
… `iroh` (#2973) ## 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>
- Loading branch information
1 parent
32f1fcd
commit f7764ef
Showing
87 changed files
with
918 additions
and
1,034 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//! Cryptographic key handling for `iroh-net`. | ||
//! Cryptographic key handling for `iroh`. | ||
mod encryption; | ||
|
||
|
Oops, something went wrong.