Cargo Features

[dependencies]
iroh = { version = "0.29.0", default-features = false, features = ["metrics", "discovery-local-network", "discovery-pkarr-dht", "examples", "test-utils", "regex"] }
default = discovery-pkarr-dht, metrics

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

metrics default

Enables metrics of iroh-metrics

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

examples

Enables clap and indicatif

clap:

Examples

and parse-size =1.0.0 and tracing-subscriber

parse-size:

pinned version to avoid bumping msrv to 1.81

test-utils

Enables axum, server and test-utils of iroh-relay

Features from optional dependencies

regex implicit feature