Skip to content

Commit

Permalink
feat!: introduce iroh-router crate (#2832)
Browse files Browse the repository at this point in the history
The general goal is to have a single place to deal with custom
protocols.

## Breaking Changes

- moved
  - `iroh::node::ProtocolHandler` -> `iroh::router::ProtocolHandler`

---------

Co-authored-by: Floris Bruynooghe <flub@n0.computer>
  • Loading branch information
dignifiedquire and flub authored Oct 25, 2024
1 parent 27f6137 commit 3e32a95
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 13 deletions.
106 changes: 93 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ members = [
"iroh-test",
"iroh-net/bench",
"iroh-cli",
"iroh-router",
]
resolver = "2"

Expand Down Expand Up @@ -49,3 +50,4 @@ iroh-base = { path = "./iroh-base" }
iroh-net = { path = "./iroh-net" }
iroh-metrics = { path = "./iroh-metrics" }
iroh-test = { path = "./iroh-test" }
iroh-router = { path = "./iroh-router" }

0 comments on commit 3e32a95

Please sign in to comment.