Cargo Features
[dependencies]
portmapper = { version = "0.4.1", default-features = false, features = ["metrics"] }
- default = metrics
-
The
metrics
feature is set by default wheneverportmapper
is added without
somewhere in the dependency tree.default-features = false - 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.