Cargo Features

[dependencies]
portmapper = { version = "0.4.1", default-features = false, features = ["metrics"] }
default = metrics

The metrics feature is set by default whenever portmapper is added without default-features = false somewhere in the dependency tree.

metrics default

Enables metrics of iroh-metrics

iroh-metrics:

Enables counters and other metrics being tracked. If disabled, all counters return 0. Macros like inc! will do nothing.

Portmapper has 2 features without comments.