Skip to content

Commit

Permalink
use top level ALPN reexport
Browse files Browse the repository at this point in the history
  • Loading branch information
rklaehn committed Nov 29, 2024
1 parent f0a0044 commit fad7239
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 95 deletions.
148 changes: 54 additions & 94 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion tests/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl<S: BlobStore> Builder<S> {
};
router = router.accept(iroh_blobs::ALPN, blobs.clone());
router = router.accept(iroh_docs::ALPN, Arc::new(docs.clone()));
router = router.accept(iroh_gossip::net::GOSSIP_ALPN, Arc::new(gossip.clone()));
router = router.accept(iroh_gossip::ALPN, Arc::new(gossip.clone()));

// Build the router
let router = router.spawn().await?;
Expand Down

0 comments on commit fad7239

Please sign in to comment.