Cargo Features

[dependencies]
iroh-net = { version = "0.15.0", default-features = false, features = ["iroh-relay", "metrics", "test-utils"] }
default = metrics

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

iroh-relay = clap, regex, rustls-pemfile, serde_with, toml, tracing-subscriber

Required by the iroh-relay binary

metrics default

Enables metrics of iroh-metrics

Affects iroh-relay::init_metrics_collection

test-utils

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

clap iroh-relay?

Enables clap

iroh-relay

regex iroh-relay?
rustls-pemfile iroh-relay?

Enables rustls-pemfile ^1.0.2

serde_with iroh-relay?
toml iroh-relay?
tracing-subscriber iroh-relay?