Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 3 additions & 82 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 portmapper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ derive_more = { version = "1.0.0", features = ["debug", "display", "from", "try_
futures-lite = "2.5"
futures-util = "0.3.25"
igd-next = { version = "0.15.1", features = ["aio_tokio"] }
iroh-metrics = { version = "0.33", default-features = false }
iroh-metrics = { git = "https://github.com/n0-computer/iroh-metrics", branch = "main" }
libc = "0.2.139"
netwatch = { version = "0.4.0", path = "../netwatch" }
num_enum = "0.7"
Expand Down
3 changes: 2 additions & 1 deletion portmapper/src/metrics.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use iroh_metrics::{Counter, MetricsGroup};
use serde::{Deserialize, Serialize};

/// Enum of metrics for the module
#[derive(Debug, Clone, MetricsGroup)]
#[derive(Debug, Default, MetricsGroup, Serialize, Deserialize)]
#[metrics(name = "portmap")]
pub struct Metrics {
/*
Expand Down
Loading