-
Notifications
You must be signed in to change notification settings - Fork 237
refactor(iroh-net): portmapper and network monitor are crates #2855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
divagant-martian
merged 34 commits into
n0-computer:main
from
divagant-martian:netmon-split-v2
Oct 29, 2024
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
59457b2
add net member
divagant-martian 4704124
move net files
divagant-martian 38ba7a3
adjust net files
divagant-martian 1cb8a7c
check unused deps in the crate
divagant-martian 887041e
add net as a dep
divagant-martian 2f572e6
adjust visibilities to use
divagant-martian befdb35
remove unused deps from iroh-net
divagant-martian 69a5f8f
add portmapper as a member
divagant-martian 543fb41
move portmapper files
divagant-martian d2a6616
adjust files to new structure
divagant-martian 2dda79c
remove portmapping defaults
divagant-martian 7bda3d0
use portmapper directly
divagant-martian 378a72a
remove Some unused deps
divagant-martian df52737
Merge remote-tracking branch 'n0/main' into netmon-split
divagant-martian 6cbae77
fmt
divagant-martian fbe28a7
fix net imports
divagant-martian f2ffed7
add windows deps in net
divagant-martian 9f83aa7
use portmapper and net directly everywhere
divagant-martian 2feeac8
re-add re-exports
divagant-martian 8a1574d
remove dependency on dns alias
divagant-martian 25aaa60
fmt
divagant-martian 15dbac9
remove redundant import
divagant-martian ea0bad0
add some love to toml file
divagant-martian dfd457e
Merge branch 'main' into netmon-split-v2
divagant-martian d61a282
leave it at netwatch with udp
divagant-martian 9b22efe
include in ci
divagant-martian eb7d3f8
add time to tokio in netwatch
divagant-martian 36c1a87
Merge branch 'main' into netmon-split-v2
divagant-martian 5131a5f
merge and sort imports
divagant-martian 5e1e3e1
add Lincense, Contribution, improve description
divagant-martian e9959e5
cleanup docs
divagant-martian 682c18d
Merge branch 'main' into netmon-split-v2
divagant-martian a64f8bc
remove readded reexports rerere as agreed with @dignifiedquire and @flub
divagant-martian 0d04c36
fix missed test
divagant-martian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,8 +1,7 @@ | ||
//! Co-locating all of the iroh-net metrics structs | ||
pub use portmapper::Metrics as PortmapMetrics; | ||
|
||
#[cfg(feature = "iroh-relay")] | ||
#[cfg_attr(iroh_docsrs, doc(cfg(feature = "iroh-relay")))] | ||
pub use crate::relay::server::Metrics as RelayMetrics; | ||
pub use crate::{ | ||
magicsock::Metrics as MagicsockMetrics, netcheck::Metrics as NetcheckMetrics, | ||
portmapper::Metrics as PortmapMetrics, | ||
}; | ||
pub use crate::{magicsock::Metrics as MagicsockMetrics, netcheck::Metrics as NetcheckMetrics}; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.