Cargo Features

[dependencies]
iroh-net = { version = "0.28.1", default-features = false, features = ["iroh-relay", "metrics", "discovery-local-network", "discovery-pkarr-dht", "test-utils"] }
default = discovery-pkarr-dht, metrics

These default features are set whenever iroh-net is added without default-features = false somewhere in the dependency tree.

iroh-relay test-utils?

Enables axum, clap, regex, rustls-pemfile, tokio-rustls-acme, toml, and tracing-subscriber

Affects relay::server

Required by the iroh-relay binary

metrics default

Enables metrics of iroh-metrics

Affects server::ServerConfig.metrics_addr

discovery-local-network

Enables swarm-discovery

local-swarm-discovery

Affects discovery::local_swarm_discovery

discovery-pkarr-dht default

Enables dht of pkarr and genawaiter

dht_discovery

Affects pkarr::dht

test-utils = iroh-relay